summaryrefslogtreecommitdiffhomepage
path: root/proto-iokit-foohid/CMakeLists.txt
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 /proto-iokit-foohid/CMakeLists.txt
parent3c702e840b23aa350412d53437b34fee7516e00e (diff)
cmake: use target_{compile,link}_options
Diffstat (limited to 'proto-iokit-foohid/CMakeLists.txt')
-rw-r--r--proto-iokit-foohid/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-iokit-foohid/CMakeLists.txt b/proto-iokit-foohid/CMakeLists.txt
index 37036a09..31d3dcdc 100644
--- a/proto-iokit-foohid/CMakeLists.txt
+++ b/proto-iokit-foohid/CMakeLists.txt
@@ -1,4 +1,4 @@
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
otr_module(proto-iokit-foohid)
- set_property(TARGET opentrack-proto-iokit-foohid APPEND_STRING PROPERTY LINK_FLAGS "-framework IOKit ")
+ target_link_options(${self} PRIVATE -framework IOKit)
endif()