diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 17:17:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 17:50:39 +0100 |
commit | 958f906892ec59a8575b85f939164bc435212420 (patch) | |
tree | 263d0fd775a11e4868b74c8f57d9e3102ddde6cc /compat | |
parent | 57c5de5228485637e6dac2ed28e7c727e14d602f (diff) |
cmake: remove otr_prop()
It's too complex to be understood when written in
CMake. Replace with explicit calls to set_property().
This hasn't been tested on OSX.
Diffstat (limited to 'compat')
-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() |