diff --git a/CMakeLists.txt b/CMakeLists.txt index cbec187f75..4338a466b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,7 +108,7 @@ elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") endif() elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC") #message(STATUS msvc) - add_compile_options(/W3) + add_compile_options(/W3 /wd5286 /wd5287 /wd4319) if(${WERROR}) add_compile_options(/WX) endif()