summaryrefslogtreecommitdiffstats
path: root/.cmake.conf
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-01-08 14:31:26 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-14 17:57:19 +0000
commitca4f26320dba0452b8b3a2910bb39ba12c109e25 (patch)
tree43b9320cac08c99a8a42e01e3180f69c886dfb91 /.cmake.conf
parentbaa035684998616ec47bd4812fa24d25d1f5da2b (diff)
Lower the CMake minimum required version for single-config builds
Ubuntu 20.04 is a supported platform and comes with CMake 3.16. The current state of the Qt build works fine with this CMake version, mainly because the default build on Linux is single-config. For multi-config builds we have higher version requirements as documented in cmake/README.md. This lowers the barrier for users using single-config builds who don't want or cannot upgrade to CMake >= 3.18. For Ninja Multi-Config builds, which were introduced by CMake 3.17, we yield a warning that 3.18.3 is the lowest supported version. Change-Id: Ia918b9f2b494508e86301ffc0e138d3ad4dbaf86 Reviewed-by: Craig Scott <craig.scott@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 20a17911576297f22b9da9849b677476c2d6e0ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '.cmake.conf')
-rw-r--r--.cmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cmake.conf b/.cmake.conf
index bc81f6a952..1ada086881 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -1,7 +1,7 @@
set(QT_REPO_MODULE_VERSION "6.0.1")
# Minimum requirement for building Qt
-set(QT_MIN_SUPPORTED_CMAKE_VERSION "3.18")
+set(QT_MIN_SUPPORTED_CMAKE_VERSION "3.16")
# Policy settings for commands defined by qtbase. These will also be injected
# into the top level policy scope of each Qt module when building Qt so that