From 76c67169ed3d18b57ec22237c60ec5caebad9f06 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 27 Mar 2017 21:13:42 +0100 Subject: [PATCH] Disable noisy MSVC warning that will never be fixed --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00bf8f8..57d565e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,6 +33,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -std=c++0x") elseif(MSVC) set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + add_definitions(-D_CRT_SECURE_NO_WARNINGS) endif() if(CMAKE_SIZEOF_VOID_P EQUAL 8)