2016-01-29 17:39:08 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
|
|
|
find_dependency(ZLIB)
|
2021-01-09 03:39:14 +08:00
|
|
|
find_dependency(LibLZMA)
|
2016-01-29 17:39:08 +08:00
|
|
|
find_dependency(Threads)
|
|
|
|
|
|
|
|
# OSG
|
|
|
|
|
|
|
|
set(SIMGEAR_HEADLESS @SIMGEAR_HEADLESS@)
|
|
|
|
set(SIMGEAR_SOUND @ENABLE_SOUND@)
|
2017-10-31 17:42:44 +08:00
|
|
|
set(USE_AEONWAVE @USE_AEONWAVE@)
|
2016-01-29 17:39:08 +08:00
|
|
|
|
|
|
|
# OpenAL isn't a public dependency, so maybe not needed
|
|
|
|
#if (SIMGEAR_SOUND)
|
|
|
|
# find_dependency(OpenAL)
|
|
|
|
#endif()
|
|
|
|
|
2017-02-07 07:02:39 +08:00
|
|
|
# SSE/SSE2 support
|
|
|
|
|
|
|
|
set(ENABLE_SIMD @ENABLE_SIMD@)
|
|
|
|
|
2020-03-16 06:29:43 +08:00
|
|
|
# OpenRTI support
|
|
|
|
set(ENABLE_RTI @ENABLE_RTI@)
|
|
|
|
if(ENABLE_RTI)
|
|
|
|
set(RTI_FOUND @RTI_FOUND@)
|
|
|
|
if(RTI_FOUND)
|
|
|
|
set(RTI_INCLUDE_DIRS @RTI_INCLUDE_DIRS@)
|
|
|
|
set(RTI_LDFLAGS @RTI_LDFLAGS@)
|
|
|
|
endif(RTI_FOUND)
|
|
|
|
endif(ENABLE_RTI)
|
|
|
|
|
2017-02-26 23:39:48 +08:00
|
|
|
# Alternative terrain engine based on pagedLOD
|
|
|
|
|
|
|
|
set(ENABLE_GDAL @ENABLE_GDAL@)
|
|
|
|
set(ENABLE_OPENMP @ENABLE_OPENMP@)
|
|
|
|
|
2016-01-29 17:39:08 +08:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/SimGearTargets.cmake")
|