Stop compilation on first error

This commit is contained in:
gabime 2018-08-18 02:19:52 +03:00
parent 45d3c8341c
commit 0758b39061

View File

@ -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()