diff --git a/CMakeLists.txt b/CMakeLists.txt index 3eee0dae..c0b8a373 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCH add_compile_options("-Wextra") add_compile_options("-Wconversion") add_compile_options("-pedantic") + add_compile_options("-Wfatal-errors") endif()