From 6faab6ff960e2dd04aa35e8ef1aa62bce2976725 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 May 2017 03:31:00 +0200 Subject: add otr_prop for appending property strings --- compat/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat') diff --git a/compat/CMakeLists.txt b/compat/CMakeLists.txt index 7655a223..33cb02bd 100644 --- a/compat/CMakeLists.txt +++ b/compat/CMakeLists.txt @@ -5,5 +5,5 @@ if(NOT WIN32 AND NOT APPLE) endif() if(CMAKE_COMPILER_IS_GNUCXX) - set_property(SOURCE nan.cpp APPEND_STRING PROPERTY COMPILE_FLAGS " -fno-lto -fno-fast-math -fno-finite-math-only -O0") + otr_prop(SOURCE nan.cpp COMPILE_FLAGS "-fno-lto -fno-fast-math -fno-finite-math-only -O0") endif() -- cgit v1.2.3