diff --git a/CMakeModules/FindSimGear.cmake b/CMakeModules/FindSimGear.cmake index 47ce3ca30..c0e14e133 100644 --- a/CMakeModules/FindSimGear.cmake +++ b/CMakeModules/FindSimGear.cmake @@ -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)