]> git.mxchange.org Git - flightgear.git/blobdiff - CMakeModules/FindSimGear.cmake
VoiceSynthesizer: add some test/debug properties
[flightgear.git] / CMakeModules / FindSimGear.cmake
index b4aeaf51ba001c5b631f029c892571db7f32ddf3..56f230a881c61681a329ab45e60ba32d1293961e 100644 (file)
@@ -152,8 +152,8 @@ else(SIMGEAR_SHARED)
         ${OPENAL_LIBRARY})
 
     if(APPLE)
-        find_library(CORESERVICES_LIBRARY CoreServices)
-        list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ${CORESERVICES_LIBRARY})
+        find_library(COCOA_LIBRARY Cocoa)
+        list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ${COCOA_LIBRARY})
     endif()
 
     if(WIN32)
@@ -169,7 +169,7 @@ else(SIMGEAR_SHARED)
     endif(NOT MSVC)
 endif(SIMGEAR_SHARED)
 
-if((NOT SIMGEAR_CORE_LIBRARIES)OR(NOT SIMGEAR_LIBRARIES))
+if((NOT SIMGEAR_CORE_LIBRARIES) OR (NOT SIMGEAR_LIBRARIES))
     message(FATAL_ERROR "Cannot find SimGear libraries! (Forgot 'make install' for SimGear?) "
             "Compile & INSTALL SimGear before configuring FlightGear. "
             "When using non-standard locations, use 'SIMGEAR_DIR' to configure the SimGear location.")