disable /WX on MSVC

This commit is contained in:
jadebenn 2024-04-08 20:18:46 -05:00
parent 24d3bc0ce6
commit 7eae64f8a6

View File

@ -253,7 +253,7 @@ endif()
# Set warning flags
if(MSVC)
add_compile_options("/WX")
add_compile_options("/W4")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
add_compile_options("-Wuninitialized" "-Wold-style-cast" "-Werror")
else()