diff options
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 32e32641..25b1169b 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -54,7 +54,7 @@ set(_CXXFLAGS_RELEASE "${cc}") set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}") set(ldflags-shared-release "/OPT:REF /OPT:ICF=10") -set(ldflags-shared "/DEBUG") +set(ldflags-shared "/DEBUG /WX") foreach (i MODULE EXE SHARED) set(_LDFLAGS_${i} "${ldflags-shared}") |