summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-21 22:20:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-23 00:05:15 +0200
commit5934ac7dde5289a591d044251a07d046dcd4ca4f (patch)
tree49cce92f2421f632b9235c68b14e7e2479eda3ad
parentdb40141fadca694935e8805077eadc71bf627c3f (diff)
cmake/platform: add msvc-specific defines
Based on https://github.com/juj/MathGeoLib/blob/master/CommonOptions.cmake#L51
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index 75f9bff7..be7cbfa5 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -4,6 +4,7 @@ endif()
if(MSVC)
add_definitions(-DNOMINMAX -D_CRT_SECURE_NO_WARNINGS)
+ add_definitions(-D_ITERATOR_DEBUG_LEVEL=0 -D_HAS_ITERATOR_DEBUGGING=0 -D_SECURE_SCL=0)
endif()
if(WIN32)