summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xCMakeLists.txt1
-rw-r--r--cmake/msvc.cmake2
-rw-r--r--cmake/opentrack-win32-crt.cmake8
3 files changed, 1 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d7adeba..e3d12828 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,6 @@ include(opentrack-boilerplate)
include(opentrack-version)
include(opentrack-install)
-include(opentrack-win32-crt)
if(WIN32)
enable_language(RC)
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()