From 5934ac7dde5289a591d044251a07d046dcd4ca4f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 21 Aug 2016 22:20:36 +0200 Subject: cmake/platform: add msvc-specific defines Based on https://github.com/juj/MathGeoLib/blob/master/CommonOptions.cmake#L51 --- cmake/opentrack-platform.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake/opentrack-platform.cmake') 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) -- cgit v1.2.3