summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-11 08:41:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-11 08:41:49 +0200
commit98279cffc09898064e68617f7adc0f142d23ca9c (patch)
treeb173fcd08f47be1b4d6a5143ab93ff94bee1dc39
parentc51bbdb6565056f8cf45d8efe3298766e6fda286 (diff)
cmake/msvc: remove now repetitive flags from toolchain file
-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}")