Fix ricer sqlite3 build
-fno-fast-math needs to be explicitly passed not to trigger #error preprocessor directive.
This commit is contained in:
parent
778cc8c6a0
commit
2a6f95894b
1 changed files with 1 additions and 0 deletions
1
3rdparty/sqlite3/CMakeLists.txt
vendored
1
3rdparty/sqlite3/CMakeLists.txt
vendored
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue