From 03c05af7347a13fc7fdace199d23c2330e4f2719 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Tue, 7 Mar 2017 13:21:57 +0000 Subject: [PATCH] Remove _SECURE_SCL=1 --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54d829c0..de66b653 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -337,8 +337,7 @@ if (WIN32) # /MP - use multi cores to compile. # /D _BIND_TO_CURRENT_VCLIBS_VERSION - TODO: explain why. - # /D _SECURE_SCL=1 - find bugs with iterators. - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1 /D _SECURE_SCL=1") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1") # /MD - use multi-core libraries. # /O2 - get the fastest code.