Merge pull request #1362 from chrisballinger/10.10-opengl-build-fix
Fix OpenGL linker error on Yosemite
This commit is contained in:
commit
ce3a039eed
|
@ -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)
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue