From ddea66e0265b219560b838678ee4037aa6341096 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Thu, 18 Apr 2013 17:41:56 +0000 Subject: [PATCH] Disabled additional msvc warnings --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2404f05c3..cd8db9a80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,6 +146,7 @@ include_directories( link_directories(${Boost_LIBRARY_DIRS}) if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS) add_definitions(/wd4251 /wd4275 /wd4251) # Disable non-DLL-exported base class warnings endif()