diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-01 06:15:22 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-01 06:15:22 +0100 |
commit | 463c10f29efc6ef583b6eb3ed6117368eab9ccd9 (patch) | |
tree | fcd1f60a0b5250ddabd2d192a9ff609c8d81c1a1 /cmake | |
parent | 1576bd06113ca6fc9a4ddb68621a636c0a21ee2e (diff) |
Revert "cmake: switch to using dynamically-linked CRT"
This reverts commit 28d028d26abaaa5c6192624262811e2989de36de.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 2 | ||||
-rw-r--r-- | cmake/opentrack-win32-crt.cmake | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 1c47d20d..e7e0ced3 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -43,7 +43,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack") set(cc "${cc} /GR-") endif() -set(silly "${warns_} /MD /Zi /Gm") +set(silly "${warns_} /MT /Zi /Gm") set(_CFLAGS "${silly}") set(_CXXFLAGS "${silly}") diff --git a/cmake/opentrack-win32-crt.cmake b/cmake/opentrack-win32-crt.cmake deleted file mode 100644 index 85348e89..00000000 --- a/cmake/opentrack-win32-crt.cmake +++ /dev/null @@ -1,8 +0,0 @@ -if(MSVC)
- set(SDK_WIN32_CRT "" CACHE PATH "Path to dynamically linked CRT libraries")
- if(SDK_WIN32_CRT)
- file(GLOB crt-libs "${SDK_WIN32_CRT}/*.dll")
- install(FILES ${crt-libs} DESTINATION . ${opentrack-perms})
- install(FILES "${SDK_WIN32_CRT}/LICENSE.TXT" RENAME "MSVCRT-LICENSE.txt" DESTINATION "./${opentrack-hier-doc}/3rdparty-notices")
- endif()
-endif()
|