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 /qxt-mini | |
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 'qxt-mini')
-rw-r--r-- | qxt-mini/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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() |