diff options
author | João Valverde <j@v6e.pt> | 2023-01-17 14:06:42 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-01-17 15:04:40 +0000 |
commit | a201eaf118d6beffa55443e387c5b3c263a806ab (patch) | |
tree | 3b3f7dddad1dbe7c8d5adbe65fb19bb384a8923b /CMakeOptions.txt | |
parent | b801ea0191f775a4e260271e6e7efa7fb7cd8c0a (diff) |
MinGW: Enable -Werror by default
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r-- | CMakeOptions.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt index 94748f9c83..f6d07a855b 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -49,12 +49,7 @@ option(BUILD_sharkd "Build sharkd" ON) option(BUILD_mmdbresolve "Build MaxMind DB resolver" ON) option(BUILD_fuzzshark "Build fuzzshark" OFF) -if (USE_MSYSTEM) - # XXX Doesn't build cleanly yet with GCC. - option(ENABLE_WERROR "Treat warnings as errors" OFF) -else() - option(ENABLE_WERROR "Treat warnings as errors" ON) -endif() +option(ENABLE_WERROR "Treat warnings as errors" ON) # Debugging is enabled for "Debug" and "RelWithDebInfo" build types. option(ENABLE_DEBUG "Enable debugging for all build configurations" OFF) # UTF-8 debugging is enabled for "Debug" and "RelWithDebInfo" build types. |