diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3dd282a8d..c32c10f4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -234,8 +234,9 @@ include(Config${CMAKE_BUILD_TYPE}) add_check_c_cxx_flag("-O${OPTIMIZATION_LEVEL}") add_check_c_cxx_flag("-Wall") +add_check_c_cxx_flag("-Werror") +add_check_c_cxx_flag("-Wno-unused-private-field") add_check_c_flag("-fexceptions") -add_check_c_cxx_flag("-Wno-deprecated") add_check_cxx_flag("-Wsuggest-override") add_check_cxx_flag("-Wnon-virtual-dtor") add_check_c_cxx_flag("-Wimplicit-fallthrough") |