From 958f906892ec59a8575b85f939164bc435212420 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Feb 2018 17:17:27 +0100 Subject: 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. --- compat/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compat') 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() -- cgit v1.2.3