mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
More required libraries for OS X.
This commit is contained in:
parent
ec495e14d3
commit
2c0bea3f33
1 changed files with 10 additions and 2 deletions
|
@ -106,25 +106,33 @@ target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES} ${OPENCV_LIBRARIES})
|
|||
|
||||
if (APPLE)
|
||||
# link in required OS X frameworks and include the right GL headers
|
||||
find_library(AppKit AppKit)
|
||||
find_library(AudioToolbox AudioToolbox)
|
||||
find_library(AudioUnit AudioUnit)
|
||||
find_library(CoreAudio CoreAudio)
|
||||
find_library(CoreServices CoreServices)
|
||||
find_library(Carbon Carbon)
|
||||
find_library(Foundation Foundation)
|
||||
find_library(GLUT GLUT)
|
||||
find_library(OpenGL OpenGL)
|
||||
find_library(IOKit IOKit)
|
||||
find_library(QTKit QTKit)
|
||||
find_library(ZLIB_LIBRARY zlib)
|
||||
|
||||
target_link_libraries(
|
||||
${TARGET_NAME}
|
||||
${TARGET_NAME}
|
||||
${AppKit}
|
||||
${AudioToolbox}
|
||||
${AudioUnit}
|
||||
${CoreAudio}
|
||||
${CoreServices}
|
||||
${Carbon}
|
||||
${Carbon}
|
||||
${Foundation}
|
||||
${GLUT}
|
||||
${OpenGL}
|
||||
${IOKit}
|
||||
${QTKit}
|
||||
${ZLIB_LIBRARY}
|
||||
${LIBOVR_LIBRARIES}
|
||||
)
|
||||
else (APPLE)
|
||||
|
|
Loading…
Reference in a new issue