diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 5de7fae1..997bc2d1 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -31,7 +31,7 @@ function(spdlog_enable_warnings target_name) target_compile_options(${target_name} PRIVATE $<$,$,$>: -Wall -Wextra -Wconversion -pedantic -Wfatal-errors> - $<$:/W4>) + $<$:/W3>) if(MSVC_VERSION GREATER 1900) #Allow non fatal security wanrnings for msvc 2015 target_compile_options(${target_name} PRIVATE /WX) endif()