2016-01-29 17:39:08 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
|
|
|
|
find_dependency(ZLIB)
|
|
|
|
find_dependency(Threads)
|
|
|
|
|
|
|
|
# OSG
|
|
|
|
|
|
|
|
set(SIMGEAR_HEADLESS @SIMGEAR_HEADLESS@)
|
|
|
|
set(SIMGEAR_SOUND @ENABLE_SOUND@)
|
|
|
|
|
|
|
|
# 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@)
|
|
|
|
|
2016-01-29 17:39:08 +08:00
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/SimGearTargets.cmake")
|