summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-20 07:10:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-20 07:10:06 +0200
commit64c06e3a6e4de68f95415d46cacd15ed0d606cff (patch)
treec0e11268644ca85d849deaa477f78144e9eeddaa /cmake/msvc.cmake
parentb8f791877dd792dc3001863997f38ebf8bd9462a (diff)
cmake/msvc: fix CRT .pdb link
Diffstat (limited to 'cmake/msvc.cmake')
-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 "")