mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 13:33:35 +00:00
disable /WX on MSVC
This commit is contained in:
parent
24d3bc0ce6
commit
7eae64f8a6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user