diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 01:49:16 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-10 01:50:51 +0100 |
commit | 31812955940e8cb032dd4d09d1de2ab8ed61fdf6 (patch) | |
tree | 9aa63a905fd305d7c1cee03029dfd1f5f58ba686 /proto-fsuipc/CMakeLists.txt | |
parent | a95dd691d4a5a32d1aa8c2ccd706c51ba307237d (diff) |
proto/fsuipc: switch to `target_*_options'
Diffstat (limited to 'proto-fsuipc/CMakeLists.txt')
-rw-r--r-- | proto-fsuipc/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
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() |