Fix OpenGL linker error on OS X

This commit is contained in:
Chris Ballinger 2014-10-22 00:25:01 -07:00
parent 5d4b4c793a
commit ffe976659e
2 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ if(APPLE)
find_library(QUICKTIME_LIBRARY QuickTime)
find_library(WEBKIT_LIBRARY WebKit)
find_library(FORCEFEEDBACK ForceFeedback)
find_library(OPENGL_LIBRARY OpenGL)
endif()
if(WIN32)

View File

@ -879,6 +879,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
${COREFUND_LIBRARY}
${CORESERV_LIBRARY}
${IOK_LIBRARY}
${OPENGL_LIBRARY}
${QUICKTIME_LIBRARY})
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
add_definitions(-D__WXGTK__)