summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/msvc.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index 0f7b7fc6..df04449a 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -68,7 +68,7 @@ set(_CFLAGS_DEBUG "-GS -sdl -Gs -guard:cf")
set(_CXXFLAGS_RELEASE "${cc}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")
-set(_LDFLAGS "-cgthreads:1 -DEBUG -machine:x86 -WX")
+set(_LDFLAGS "-cgthreads:1 -DEBUG -machine:x86")
#set(_ltcg "-LTCG")
set(_ltcg "-LTCG:INCREMENTAL")
@@ -76,7 +76,7 @@ set(_ltcg "-LTCG:INCREMENTAL")
set(_LDFLAGS_RELEASE "-OPT:REF,ICF=4 ${_ltcg}")
set(_LDFLAGS_DEBUG "")
-set(_LDFLAGS_STATIC "-machine:x86 -WX")
+set(_LDFLAGS_STATIC "-machine:x86")
set(_LDFLAGS_STATIC_RELEASE "${_ltcg}")
set(_LDFLAGS_STATIC_DEBUG "")