endif()
option(SIMGEAR_HEADLESS "Set to ON to build SimGear without GUI/graphics support" OFF)
-option(JPEG_FACTORY "Enable JPEG-factory support" OFF)
option(ENABLE_RTI "Set to ON to build SimGear with RTI support" OFF)
option(ENABLE_TESTS "Set to OFF to disable building SimGear's test applications" ON)
option(ENABLE_SOUND "Set to OFF to disable building SimGear's sound support" ON)
endif (MSVC AND MSVC_3RDPARTY_ROOT)
if(APPLE)
- find_library(CORE_SERVICES_LIBRARY CoreServices)
+ find_library(COCOA_LIBRARY Cocoa)
endif()
find_package(Boost REQUIRED)
find_package(OpenSceneGraph 3.0.0 REQUIRED osgText osgSim osgDB osgParticle osgGA osgUtil)
endif(SIMGEAR_HEADLESS)
-if(JPEG_FACTORY)
- message(STATUS "JPEG-factory: ENABLED")
- find_package(JPEG REQUIRED)
- include_directories(${JPEG_INCLUDE_DIR})
-else()
- message(STATUS "JPEG-factory: DISABLED")
-endif(JPEG_FACTORY)
-
find_package(ZLIB REQUIRED)
find_package(Threads REQUIRED)
${WINSOCK_LIBRARY}
${RT_LIBRARY}
${DL_LIBRARY}
- ${CORE_SERVICES_LIBRARY})
+ ${COCOA_LIBRARY})
set(TEST_LIBS SimGearCore ${TEST_LIBS_INTERNAL_CORE})
if(NOT SIMGEAR_HEADLESS)