diff options
author | Robert <krzmbrzl@gmail.com> | 2020-09-11 19:55:21 +0300 |
---|---|---|
committer | Robert <krzmbrzl@gmail.com> | 2020-09-28 12:33:55 +0300 |
commit | 5668f8193635401b80509413e6bd31497c670c6b (patch) | |
tree | 075bf0f55f62e3b485467212a388d4a74869cbd8 /CMakeLists.txt | |
parent | c52b229023eb3f65ac6d852dbf88a2737d8c847f (diff) |
BUILD(cmake): Enable -Werr by default
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 e3fe096c7..81866d409 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ option(tests "Build tests" OFF) option(optimize "Build a heavily optimized version, specific to the machine it's being compiled on." OFF) option(static "Build static binaries." OFF) option(symbols "Build binaries in a way that allows easier debugging." OFF) -option(warnings-as-errors "All warnings are treated as errors." OFF) +option(warnings-as-errors "All warnings are treated as errors." ON) option(dpkg-buildflags "Add CFLAGS, CXXFLAGS, CPPFLAGS and LDFLAGS from dpkg-buildflags to the build flags." OFF) |