1
0
Fork 0
flightgear/3rdparty/CMakeLists.txt
Edward d'Auvergne 3c73600237 TestSuite: Addition of the SYSTEM_CPPUNIT option for distributors.
This is to allow for selecting between a system installed version of CppUnit or
the version bundled with flightgear.
2018-03-23 17:26:05 +01:00

35 lines
831 B
CMake

if (NOT SYSTEM_SQLITE)
add_subdirectory(sqlite3)
endif()
if (ENABLE_IAX)
add_subdirectory(iaxclient/lib)
endif()
add_subdirectory(mongoose)
add_subdirectory(cjson)
if (ENABLE_FLITE)
add_subdirectory(flite_hts_engine)
if (SYSTEM_HTS_ENGINE)
set(HTS_Engine_FIND_REQUIRED TRUE)
find_package(HtsEngine)
include_directories(${HTS_ENGINE_INCLUDE_DIR})
message(STATUS "Using HTS engine includes at: ${HTS_ENGINE_INCLUDE_DIR}")
message(STATUS "Using HTS engine libraries: ${HTS_ENGINE_LIBRARIES}")
else()
add_subdirectory(hts_engine_API)
include_directories(${PROJECT_SOURCE_DIR}/3rdparty/hts_engine_API/include )
endif()
endif()
if (ENABLE_HID_INPUT)
add_subdirectory(hidapi)
endif()
if (NOT SYSTEM_CPPUNIT)
add_subdirectory(cppunit)
endif()