diff options
author | Robert Adam <dev@robert-adam.de> | 2022-08-12 23:01:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 23:01:25 +0300 |
commit | 044dede4c54f83fb303057684d2715079a5e0bb2 (patch) | |
tree | 6583c4007388051915ed896758a70e4a273494d2 | |
parent | a88d87a6c02759e7dc1db10150fe13cbd777830b (diff) | |
parent | f2697ebf1ab7028585fbcf646bbecb34f026c5e1 (diff) |
Merge PR #5797: BUILD: Disable warnings-as-errors
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | docs/dev/build-instructions/cmake_options.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c5f6db045..062a8f740 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,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." ON) +option(warnings-as-errors "All warnings are treated as errors." OFF) option(overlay "Build overlay." ON) option(packaging "Build package." OFF) diff --git a/docs/dev/build-instructions/cmake_options.md b/docs/dev/build-instructions/cmake_options.md index 7a710629b..ae2d7f689 100644 --- a/docs/dev/build-instructions/cmake_options.md +++ b/docs/dev/build-instructions/cmake_options.md @@ -242,7 +242,7 @@ Check for updates by default. ### warnings-as-errors All warnings are treated as errors. -(Default: ON) +(Default: OFF) ### wasapi |