summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-version.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:17:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:50:39 +0100
commit958f906892ec59a8575b85f939164bc435212420 (patch)
tree263d0fd775a11e4868b74c8f57d9e3102ddde6cc /cmake/opentrack-version.cmake
parent57c5de5228485637e6dac2ed28e7c727e14d602f (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 'cmake/opentrack-version.cmake')
-rw-r--r--cmake/opentrack-version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-version.cmake b/cmake/opentrack-version.cmake
index 05390659..24970b59 100644
--- a/cmake/opentrack-version.cmake
+++ b/cmake/opentrack-version.cmake
@@ -42,5 +42,5 @@ endif()
add_library(opentrack-version STATIC "${file}")
if(NOT MSVC)
- otr_prop(TARGET opentrack-version COMPILE_FLAGS "-fno-lto")
+ set_property(TARGET opentrack-version APPEND_STRING PROPERTY COMPILE_FLAGS "-fno-lto ")
endif()