1
0
Fork 0

Fix ricer sqlite3 build

-fno-fast-math needs to be explicitly passed not to trigger #error
preprocessor directive.
This commit is contained in:
Stanislaw Halik 2013-10-08 10:43:17 +02:00 committed by James Turner
parent 778cc8c6a0
commit 2a6f95894b

View file

@ -2,3 +2,4 @@
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION) add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
add_definitions(-DNDEBUG) add_definitions(-DNDEBUG)
add_library(fgsqlite3 sqlite3.c) add_library(fgsqlite3 sqlite3.c)
set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fno-fast-math")