From a672563ec86f86ae697f2c2eb3d0a8f94ac11808 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 May 2017 10:52:34 +0200 Subject: cmake/msvc: unset linker warnings are errors Spurious "corrupted .pdb" warning doesn't let complete the build. --- cmake/msvc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index c0aee783..e5912f46 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -52,7 +52,7 @@ set(_CFLAGS_DEBUG "/GS /sdl /Gs /guard:cf") set(_CXXFLAGS_RELEASE "${cc}") set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}") -set(_LDFLAGS "/WX") +set(_LDFLAGS "") set(_LDFLAGS_RELEASE "/LTCG:INCREMENTAL /OPT:REF /OPT:ICF=10") set(_LDFLAGS_DEBUG "") -- cgit v1.2.3