From 64c06e3a6e4de68f95415d46cacd15ed0d606cff Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 20 Oct 2018 07:10:06 +0200 Subject: cmake/msvc: fix CRT .pdb link --- cmake/msvc.cmake | 4 ++-- 1 file 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 "") -- cgit v1.2.3