summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-09-22 16:04:54 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-22 19:32:36 +0000
commit70e92ed64d4337b1f373446fec47d3042cc7058a (patch)
tree7748428d2865cb087f0ec755ca72d9b03a4fb584
parent0af6ce9a7515fa0ddea2891ec15a9b66c037cec6 (diff)
downloadqtlocation-70e92ed64d4337b1f373446fec47d3042cc7058a.tar.gz
CMake: Bump almost all cmake_minimum_required calls to 3.16
Needed for subsequent change that will check and error out if the version is lower than 3.16. We do that to ensure all policies introduced by CMake up to version 3.16 have their behavior set to NEW. Task-number: QTBUG-95018 Change-Id: I19e81ab7d8fd570a32aa9181799d77a2eea73ab8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit b14a165c58781d2052ee449fd3234f836cd71ede) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--config.tests/gypsy/CMakeLists.txt2
-rw-r--r--config.tests/winrt/CMakeLists.txt2
-rw-r--r--tests/auto/cmake/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/config.tests/gypsy/CMakeLists.txt b/config.tests/gypsy/CMakeLists.txt
index 48cc2fb7..f9a873a5 100644
--- a/config.tests/gypsy/CMakeLists.txt
+++ b/config.tests/gypsy/CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from gypsy.pro.
-cmake_minimum_required(VERSION 3.14.0)
+cmake_minimum_required(VERSION 3.16)
project(config_test_gypsy LANGUAGES C CXX)
foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES})
diff --git a/config.tests/winrt/CMakeLists.txt b/config.tests/winrt/CMakeLists.txt
index b6a9fb97..ab7567b1 100644
--- a/config.tests/winrt/CMakeLists.txt
+++ b/config.tests/winrt/CMakeLists.txt
@@ -1,6 +1,6 @@
# Generated from winrt.pro.
-cmake_minimum_required(VERSION 3.14.0)
+cmake_minimum_required(VERSION 3.16)
project(config_test_winrt LANGUAGES C CXX)
foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES})
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 8430084d..15d99d47 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,5 +1,5 @@
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.16)
project(qmake_cmake_files)