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. --- qxt-mini/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qxt-mini') diff --git a/qxt-mini/CMakeLists.txt b/qxt-mini/CMakeLists.txt index b380e1b0..39f3525c 100644 --- a/qxt-mini/CMakeLists.txt +++ b/qxt-mini/CMakeLists.txt @@ -6,6 +6,8 @@ if(UNIX OR APPLE) target_link_libraries(opentrack-qxt-mini X11) add_definitions(-DQXT_BUILD) else() - otr_prop(TARGET opentrack-qxt-mini LINK_FLAGS "-framework Carbon -framework CoreFoundation") + set_property(TARGET opentrack-qxt-mini + APPEND_STRING PROPERTY + LINK_FLAGS "-framework Carbon -framework CoreFoundation ") endif() endif() -- cgit v1.2.3