diff options
author | Janek Bevendorff <janek@jbev.net> | 2017-11-27 22:39:44 +0300 |
---|---|---|
committer | Janek Bevendorff <janek@jbev.net> | 2017-11-27 22:57:55 +0300 |
commit | d35f3fc573cee42ec9cd00a4a20aea0438862a06 (patch) | |
tree | 88d9d6f254c95c1daf768f2b342ea76202b1b1a5 /CMakeLists.txt | |
parent | d1c26e453509c55b6479cebb611cfc853de0d876 (diff) |
Treat warning as errors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b86f0eee7..ec7682c6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,7 +97,7 @@ if(WITH_APP_BUNDLE) endif() add_gcc_compiler_flags("-fno-common") -add_gcc_compiler_flags("-Wall -Wextra -Wundef -Wpointer-arith -Wno-long-long") +add_gcc_compiler_flags("-Wall -Werror -Wextra -Wundef -Wpointer-arith -Wno-long-long") add_gcc_compiler_flags("-Wformat=2 -Wmissing-format-attribute") add_gcc_compiler_flags("-fvisibility=hidden") add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden") |