diff options
Diffstat (limited to 'compat/CMakeLists.txt')
-rw-r--r-- | compat/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/CMakeLists.txt b/compat/CMakeLists.txt index d55c38c6..b58b54e9 100644 --- a/compat/CMakeLists.txt +++ b/compat/CMakeLists.txt @@ -9,5 +9,6 @@ if(WIN32) endif() if(CMAKE_COMPILER_IS_GNUCXX) - otr_prop(SOURCE nan.cpp COMPILE_FLAGS "-fno-lto -fno-fast-math -fno-finite-math-only -O0") + set_property(SOURCE nan.cpp APPEND_STRING PROPERTY + COMPILE_FLAGS "-fno-lto -fno-fast-math -fno-finite-math-only -O0 ") endif() |