diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-24 09:49:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-24 09:49:20 +0200 |
commit | 467fd2752b2e1e02c3deebf7dd1a8d8a8a87fe6f (patch) | |
tree | d16a358d6e48f87fa2910a98c0358d9150aea0e7 /tracker-rs/CMakeLists.txt | |
parent | cc977fbdbe5197e524f2a38ffd73d09b07361121 (diff) |
tracker/rs: fix MSVC link warning
Diffstat (limited to 'tracker-rs/CMakeLists.txt')
-rw-r--r-- | tracker-rs/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt index eb64feb1..7152cb48 100644 --- a/tracker-rs/CMakeLists.txt +++ b/tracker-rs/CMakeLists.txt @@ -5,6 +5,9 @@ if(WIN32) else() set(subdir ia32) endif() + if(MSVC) + set_property(TARGET opentrack-tracker-rs APPEND_STRING PROPERTY LINK_FLAGS "/NODEFAULTLIB:LIBCMT.lib") + endif() set(libpath "${CMAKE_SOURCE_DIR}/tracker-rs/rs_impl/bin/${subdir}/rs-impl.lib") add_custom_target(opentrack-tracker-rs-impl DEPENDS ${libpath}) add_dependencies(opentrack-tracker-rs opentrack-tracker-rs-impl) |