mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Treat wall warnings as errors if SPDLOG_BUILD_WARNINGS is ON
This commit is contained in:
parent
3eeced78b5
commit
3315bad009
@ -42,6 +42,7 @@ function(spdlog_enable_warnings target_name)
|
|||||||
-Wextra
|
-Wextra
|
||||||
-Wconversion
|
-Wconversion
|
||||||
-pedantic
|
-pedantic
|
||||||
|
-Werror
|
||||||
-Wfatal-errors>
|
-Wfatal-errors>
|
||||||
$<$<CXX_COMPILER_ID:MSVC>:${MSVC_OPTIONS}>)
|
$<$<CXX_COMPILER_ID:MSVC>:${MSVC_OPTIONS}>)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user