Disable noisy MSVC warning that will never be fixed

This commit is contained in:
Paul 2017-03-27 21:13:42 +01:00
parent 5b3bfb21fb
commit 76c67169ed

View File

@ -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)