HECL link fix for qt-creator on OS X

This commit is contained in:
Jack Andersen 2016-01-08 16:19:26 -10:00
parent 34ab71a5a7
commit ba70eb3228
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ if(NOT WIN32)
list(APPEND PLAT_LIBS pthread) list(APPEND PLAT_LIBS pthread)
endif() endif()
if(APPLE)
find_library(CF_LIBRARY CoreFoundation)
list(APPEND PLAT_LIBS ${CF_LIBRARY})
endif()
target_link_libraries(hecl target_link_libraries(hecl
${DATA_SPEC_LIBS} ${DATA_SPEC_LIBS}
HECLDatabase HECLBackend HECLFrontend HECLBlender HECLCommon AthenaCore NOD HECLDatabase HECLBackend HECLFrontend HECLBlender HECLCommon AthenaCore NOD