summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-16 10:52:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-16 10:52:34 +0200
commita672563ec86f86ae697f2c2eb3d0a8f94ac11808 (patch)
treed004e76017f6cc77bc2c677420e3935b2e01959e /cmake
parentd7e1d8165a4d8c7bb559cb00b79f9567d0c4ab6e (diff)
cmake/msvc: unset linker warnings are errors
Spurious "corrupted .pdb" warning doesn't let complete the build.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/msvc.cmake2
1 files changed, 1 insertions, 1 deletions
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 "")