flightgear/3rdparty/sqlite3/CMakeLists.txt
2022-10-20 20:29:11 +08:00

7 lines
276 B
CMake

add_library(fgsqlite3 STATIC sqlite3.c)
target_compile_definitions(fgsqlite3 PRIVATE SQLITE_OMIT_LOAD_EXTENSION NDEBUG)
set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fPIC -fno-fast-math")
target_include_directories(fgsqlite3 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})