From 94e6e5be8281cb759a06a3b18f4f25a1c87142e2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Feb 2019 02:06:27 +0100 Subject: cmake: use target_{compile,link}_options --- proto-iokit-foohid/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto-iokit-foohid') 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() -- cgit v1.2.3