summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-03 21:13:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-03 21:13:06 +0100
commit96257fb0c1c63eb1466787e8ed0437f000d65854 (patch)
tree486def8f855bd53dae399a2e86e6430150ceb57d
parent84b9169f541665601c677fbe69a3dd943d55894f (diff)
cmake: fix debug build crt
-rw-r--r--cmake/msvc.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index e3616bb8..c77be83b 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -56,13 +56,13 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
add_compile_options(-W4)
endif()
-add_compile_options(-MT -Zi -Zf -Zo -bigobj -cgthreads1 -vd0)
+add_compile_options(-Zi -Zf -Zo -bigobj -cgthreads1 -vd0)
add_link_options(-cgthreads:1)
set(_CFLAGS "")
set(_CXXFLAGS "")
-set(_CFLAGS_RELEASE "-O2 -O2it -Oy- -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy -arch:SSE2 -GR-")
-set(_CFLAGS_DEBUG "-GS -sdl -Gs -guard:cf")
+set(_CFLAGS_RELEASE "-O2 -O2it -Oy- -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy -arch:SSE2 -GR- -MT")
+set(_CFLAGS_DEBUG "-GS -sdl -Gs -guard:cf -MTd")
set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")