summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
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 f5b8a97d..32ab5d5e 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -42,7 +42,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
endforeach()
endif()
-set(silly "${warns_} /MT /Zi /std:c++14 /Gm -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS")
+set(silly "${warns_} /MT /Zi /Gm")
set(_CFLAGS "${silly}")
set(_CXXFLAGS "${silly}")
@@ -52,7 +52,7 @@ set(_CXXFLAGS_RELEASE "${cc}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")
set(ldflags-shared-release "/OPT:REF /OPT:ICF=10")
-set(ldflags-shared "/DEBUG /DYNAMICBASE /NXCOMPAT")
+set(ldflags-shared "/DEBUG")
foreach (i MODULE EXE SHARED)
set(_LDFLAGS_${i} "${ldflags-shared}")