summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/msvc.cmake')
-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}")