diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 02:06:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 02:06:27 +0100 |
commit | 94e6e5be8281cb759a06a3b18f4f25a1c87142e2 (patch) | |
tree | ba00eca761beb0064c066071d24b027bd7c93211 /proto-iokit-foohid/CMakeLists.txt | |
parent | 3c702e840b23aa350412d53437b34fee7516e00e (diff) |
cmake: use target_{compile,link}_options
Diffstat (limited to 'proto-iokit-foohid/CMakeLists.txt')
-rw-r--r-- | proto-iokit-foohid/CMakeLists.txt | 2 |
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() |