diff options
-rw-r--r-- | proto-fsuipc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | proto-iokit-foohid/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proto-fsuipc/CMakeLists.txt b/proto-fsuipc/CMakeLists.txt index 3ba2c90c..536a92ab 100644 --- a/proto-fsuipc/CMakeLists.txt +++ b/proto-fsuipc/CMakeLists.txt @@ -6,7 +6,7 @@ if(WIN32) 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 ") + LINK_FLAGS "-NODEFAULTLIB:LIBC.lib ") endif() endif() endif() diff --git a/proto-iokit-foohid/CMakeLists.txt b/proto-iokit-foohid/CMakeLists.txt index cdc8fb69..37036a09 100644 --- a/proto-iokit-foohid/CMakeLists.txt +++ b/proto-iokit-foohid/CMakeLists.txt @@ -1,4 +1,4 @@ -IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") +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 ") endif() |