summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-24 22:13:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-24 22:13:00 +0100
commit28d028d26abaaa5c6192624262811e2989de36de (patch)
treeb0e23d1645318e942276f96a501011bd45f3bf37 /cmake/msvc.cmake
parentd564786057c62dce58ecf9ebd9726310fc3ab598 (diff)
cmake: switch to using dynamically-linked CRT
It's been verified to work on Windows XP.
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index e7e0ced3..1c47d20d 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_} /MT /Zi /Gm")
+set(silly "${warns_} /MD /Zi /Gm")
set(_CFLAGS "${silly}")
set(_CXXFLAGS "${silly}")