1
0
Fork 0
flightgear/3rdparty/CMakeLists.txt
James Turner 7e9930e871 Move fnt code from PLIB into 3rdparty
This enables us to fix TXF loading to use UTF8 paths, required for
handling non-ASCII paths on Windows.
2020-03-13 12:21:56 +00:00

39 lines
852 B
CMake

if (NOT SYSTEM_SQLITE)
add_subdirectory(sqlite3)
endif()
if (ENABLE_IAX)
add_subdirectory(iaxclient/lib)
endif()
add_subdirectory(mongoose)
add_subdirectory(cjson)
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()
if (ENABLE_HID_INPUT)
add_subdirectory(hidapi)
endif()
add_subdirectory(fonts)
if (ENABLE_PLIB_JOYSTICK)
add_subdirectory(joystick)
endif()
if (NOT SYSTEM_CPPUNIT)
add_subdirectory(cppunit)
endif()