From 2a6f95894be9a012a974bc31211cad1f5e261d44 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 8 Oct 2013 10:43:17 +0200 Subject: [PATCH] Fix ricer sqlite3 build -fno-fast-math needs to be explicitly passed not to trigger #error preprocessor directive. --- 3rdparty/sqlite3/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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")