From 958f906892ec59a8575b85f939164bc435212420 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 12 Feb 2018 17:17:27 +0100 Subject: cmake: remove otr_prop() It's too complex to be understood when written in CMake. Replace with explicit calls to set_property(). This hasn't been tested on OSX. --- proto-fsuipc/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto-fsuipc/CMakeLists.txt') diff --git a/proto-fsuipc/CMakeLists.txt b/proto-fsuipc/CMakeLists.txt index 99e362aa..3ba2c90c 100644 --- a/proto-fsuipc/CMakeLists.txt +++ b/proto-fsuipc/CMakeLists.txt @@ -5,7 +5,8 @@ if(WIN32) target_link_libraries(opentrack-proto-fsuipc ${SDK_FSUIPC}/FSUIPC_User.lib) target_include_directories(opentrack-proto-fsuipc SYSTEM PUBLIC ${SDK_FSUIPC}) if(MSVC) - otr_prop(TARGET opentrack-proto-fsuipc LINK_FLAGS "/NODEFAULTLIB:LIBC.lib") + set_property(TARGET opentrack-proto-fsuipc APPEND_STRING PROPERTY + LINK_FLAGS "/NODEFAULTLIB:LIBC.lib ") endif() endif() endif() -- cgit v1.2.3