Fix Mac build for tools (fgjs, etc.)
This commit is contained in:
parent
2ec4b6ecc2
commit
4bcf209dc8
1 changed files with 5 additions and 0 deletions
|
@ -152,6 +152,11 @@ else(SIMGEAR_SHARED)
|
|||
set(SIMGEAR_SCENE_LIBRARY_DEPENDENCIES
|
||||
${OPENAL_LIBRARY})
|
||||
|
||||
if(APPLE)
|
||||
find_library(CORESERVICES_LIBRARY CoreServices)
|
||||
list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ${CORESERVICES_LIBRARY})
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ws2_32.lib)
|
||||
endif(WIN32)
|
||||
|
|
Loading…
Reference in a new issue