mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Stop compilation on first error
This commit is contained in:
parent
45d3c8341c
commit
0758b39061
@ -30,6 +30,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCH
|
|||||||
add_compile_options("-Wextra")
|
add_compile_options("-Wextra")
|
||||||
add_compile_options("-Wconversion")
|
add_compile_options("-Wconversion")
|
||||||
add_compile_options("-pedantic")
|
add_compile_options("-pedantic")
|
||||||
|
add_compile_options("-Wfatal-errors")
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user