summaryrefslogtreecommitdiffhomepage
path: root/proto-fsuipc
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:17:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:50:39 +0100
commit958f906892ec59a8575b85f939164bc435212420 (patch)
tree263d0fd775a11e4868b74c8f57d9e3102ddde6cc /proto-fsuipc
parent57c5de5228485637e6dac2ed28e7c727e14d602f (diff)
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.
Diffstat (limited to 'proto-fsuipc')
-rw-r--r--proto-fsuipc/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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()