Treat wall warnings as errors if SPDLOG_BUILD_WARNINGS is ON
This commit is contained in:
@@ -42,6 +42,7 @@ function(spdlog_enable_warnings target_name)
|
||||
-Wextra
|
||||
-Wconversion
|
||||
-pedantic
|
||||
-Werror
|
||||
-Wfatal-errors>
|
||||
$<$<CXX_COMPILER_ID:MSVC>:${MSVC_OPTIONS}>)
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user