From 4f92731823fafc406569a2a7acfb236a2e3b4831 Mon Sep 17 00:00:00 2001 From: Niels Date: Sat, 20 Jun 2015 14:16:57 +0200 Subject: [PATCH] remove warnings on unit tests (from #88) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 34516678..36548140 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ if(MSVC) set(CMAKE_CXX_FLAGS "/EHsc" ) + add_definitions(-D_SCL_SECURE_NO_WARNINGS) else(MSVC) set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++"