summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-01-26 17:31:20 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-08 13:54:56 +0000
commitab2cf719c3c86a6eadbc7e358c044e2d4ca1e568 (patch)
tree0ff0d44aad356841a700e8d1365071bc41e7a5f0
parentdbed09bf457365407feb9d375a43e147c7c3305d (diff)
downloadqtwayland-ab2cf719c3c86a6eadbc7e358c044e2d4ca1e568.tar.gz
Compile repo with warnings as errors
Let the compilation fail if new warnings are introduced for developer builds & supported compilers. Fixes: QTBUG-100249 Change-Id: I5e2a169d3342646b88cbea829251e53dd38be0b3 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit dace5d12929ff7b19a1290f126e3df6341de887c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c03bf628..0007697b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,10 +10,6 @@ project(QtWayland # special case
LANGUAGES CXX C
)
-# special case begin
-# TODO: Fix warnings and remove this
-set(QT_REPO_NOT_WARNINGS_CLEAN TRUE)
-
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
BuildInternals
)
@@ -32,7 +28,6 @@ find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS
OpenGL
Quick
)
-# special case end
# special case begin
# Moved above.