mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Stop compilation on first error
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user