1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-03-31 10:22:41 +08:00

Treat wall warnings as errors if SPDLOG_BUILD_WARNINGS is ON

This commit is contained in:
gabime 2021-07-10 15:22:44 +03:00
parent 3eeced78b5
commit 3315bad009

View File

@ -42,6 +42,7 @@ function(spdlog_enable_warnings target_name)
-Wextra
-Wconversion
-pedantic
-Werror
-Wfatal-errors>
$<$<CXX_COMPILER_ID:MSVC>:${MSVC_OPTIONS}>)
endif ()