09fe744de0
Also build the test code first, so tests can reside in source tree as well as the test tree. Finally, build local Sqlite with -fpic to give consistent linkage when using either built-in or system sqlite.
5 lines
187 B
CMake
5 lines
187 B
CMake
|
|
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
|
|
add_definitions(-DNDEBUG)
|
|
add_library(fgsqlite3 sqlite3.c)
|
|
set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fpic -fno-fast-math")
|