mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 19:23:28 +02:00
shared seems to require linking with CoreFoundation and OpenGL on OSX
This commit is contained in:
parent
fd63e0ed4f
commit
5fa8571c0b
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ if (ANDROID)
|
|||
target_link_libraries(${TARGET_NAME} android)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
find_library(FRAMEWORK_IOKIT IOKit)
|
||||
find_library(CORE_FOUNDATION CoreFoundation)
|
||||
find_library(OpenGL OpenGL)
|
||||
target_link_libraries(${TARGET_NAME} ${FRAMEWORK_IOKIT} ${CORE_FOUNDATION} ${OpenGL})
|
||||
endif()
|
||||
|
||||
target_zlib()
|
||||
target_nsight()
|
||||
target_json()
|
||||
|
|
Loading…
Reference in a new issue