From 31812955940e8cb032dd4d09d1de2ab8ed61fdf6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Feb 2019 01:49:16 +0100 Subject: proto/fsuipc: switch to `target_*_options' --- proto-fsuipc/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto-fsuipc') diff --git a/proto-fsuipc/CMakeLists.txt b/proto-fsuipc/CMakeLists.txt index bb613d1d..9b7bd77e 100644 --- a/proto-fsuipc/CMakeLists.txt +++ b/proto-fsuipc/CMakeLists.txt @@ -5,8 +5,7 @@ if(WIN32 AND NOT opentrack-64bit AND opentrack-intel) target_link_libraries(opentrack-proto-fsuipc ${SDK_FSUIPC}/FSUIPC_User.lib) target_include_directories(opentrack-proto-fsuipc SYSTEM PUBLIC ${SDK_FSUIPC}) if(MSVC) - set_property(TARGET opentrack-proto-fsuipc APPEND_STRING PROPERTY - LINK_FLAGS "-NODEFAULTLIB:LIBC.lib ") + target_link_options(${self} PRIVATE -NODEFAULTLIB:LIBC.lib) endif() endif() endif() -- cgit v1.2.3