Added initial joystick support on OS X

This commit is contained in:
Sergey Tikhomirov
2011-09-18 22:05:00 +03:00
parent 901a743d97
commit 2357cf6f30
4 changed files with 486 additions and 8 deletions
+4
View File
@@ -117,8 +117,12 @@ if (UNIX AND APPLE)
# Set up library and include paths
find_library(COCOA_FRAMEWORK Cocoa)
find_library(IOKIT_FRAMEWORK IOKit)
find_library(CORE_FOUNDATION_FRAMEWORK CoreFoundation)
list(APPEND GLFW_LIBRARIES ${COCOA_FRAMEWORK})
list(APPEND GLFW_LIBRARIES ${OPENGL_gl_LIBRARY})
list(APPEND GLFW_LIBRARIES ${IOKIT_FRAMEWORK})
list(APPEND GLFW_LIBRARIES ${CORE_FOUNDATION_FRAMEWORK})
endif(UNIX AND APPLE)
#--------------------------------------------------------------------