diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-20 04:59:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-12-20 04:59:38 +0100 |
commit | 8f5b93a81314a40930ed592e7b72630f172097f5 (patch) | |
tree | 1efbfb185bc1fcb4ccb4f73007fe4b28430e90e3 /cmake/msvc.cmake | |
parent | 9e139f5076fa4bc7d78819fb9d45a5416f167e04 (diff) |
cmake/msvc: use -MT for all build types
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index eaeea4f6..f12fd1b1 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -65,9 +65,9 @@ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) add_link_options(-cgthreads:1) -set(_CFLAGS "-diagnostics:classic -Zc:preprocessor -wd4117 -Zi -Zf -Zo -bigobj -cgthreads1 -vd0") +set(_CFLAGS "-diagnostics:classic -Zc:preprocessor -wd4117 -Zi -Zf -Zo -bigobj -cgthreads1 -vd0 -MT") set(_CXXFLAGS "${_CFLAGS}") -set(_CFLAGS_RELEASE "-O2 -Oit -Oy- -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy -arch:SSE2 -MT") +set(_CFLAGS_RELEASE "-O2 -Oit -Oy- -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy -arch:SSE2") set(_CFLAGS_DEBUG "-guard:cf -MTd -Gs0 -RTCs") set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}") set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}") |