3c73600237
This is to allow for selecting between a system installed version of CppUnit or the version bundled with flightgear.
35 lines
831 B
CMake
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()
|