summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-10 02:06:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-10 02:06:27 +0100
commit94e6e5be8281cb759a06a3b18f4f25a1c87142e2 (patch)
treeba00eca761beb0064c066071d24b027bd7c93211 /qxt-mini
parent3c702e840b23aa350412d53437b34fee7516e00e (diff)
cmake: use target_{compile,link}_options
Diffstat (limited to 'qxt-mini')
-rw-r--r--qxt-mini/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/qxt-mini/CMakeLists.txt b/qxt-mini/CMakeLists.txt
index 487b48d0..f355b943 100644
--- a/qxt-mini/CMakeLists.txt
+++ b/qxt-mini/CMakeLists.txt
@@ -2,9 +2,7 @@ if(UNIX OR APPLE)
set(self opentrack-qxt-mini)
otr_module(qxt-mini NO-COMPAT BIN)
if(APPLE)
- set_property(TARGET ${self}
- APPEND_STRING PROPERTY
- LINK_FLAGS " -framework Carbon -framework CoreFoundation ")
+ target_link_options(${self} PUBLIC -framework Carbon -framework CoreFoundation)
else()
otr_pkgconfig(${self} x11 xcb xproto)
endif()