diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 16:04:54 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 19:51:11 +0200 |
commit | b14a165c58781d2052ee449fd3234f836cd71ede (patch) | |
tree | 51efd7ce3217760ae9457c80dffddbde9b665fc2 | |
parent | e0c154b8d613a4da6dc9971b1c9b80c8a24615eb (diff) | |
download | qtlocation-b14a165c58781d2052ee449fd3234f836cd71ede.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.
Pick-to: 6.2
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>
-rw-r--r-- | config.tests/gypsy/CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.tests/winrt/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 2 |
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) |