From: Stanislaw Halik Date: Tue, 8 Oct 2013 08:43:17 +0000 (+0200) Subject: Fix ricer sqlite3 build X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a6f95894be9a012a974bc31211cad1f5e261d44;p=flightgear.git Fix ricer sqlite3 build -fno-fast-math needs to be explicitly passed not to trigger #error preprocessor directive. --- diff --git a/3rdparty/sqlite3/CMakeLists.txt b/3rdparty/sqlite3/CMakeLists.txt index 551c562ff..cf1036fb4 100644 --- a/3rdparty/sqlite3/CMakeLists.txt +++ b/3rdparty/sqlite3/CMakeLists.txt @@ -2,3 +2,4 @@ add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION) add_definitions(-DNDEBUG) add_library(fgsqlite3 sqlite3.c) +set_target_properties(fgsqlite3 PROPERTIES COMPILE_FLAGS "-fno-fast-math")