]> git.mxchange.org Git - flightgear.git/commitdiff
Fix ricer sqlite3 build
authorStanislaw Halik <sthalik@misaki.pl>
Tue, 8 Oct 2013 08:43:17 +0000 (10:43 +0200)
committerJames Turner <zakalawe@mac.com>
Wed, 9 Oct 2013 13:06:11 +0000 (15:06 +0200)
-fno-fast-math needs to be explicitly passed not to trigger #error
preprocessor directive.

3rdparty/sqlite3/CMakeLists.txt

index 551c562ff17851561aaf9e6dde09a8da616f1d07..cf1036fb45c5989c81344ed37dfd9b0ee90bb4dd 100644 (file)
@@ -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")