diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 15:48:59 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 19:51:58 +0200 |
commit | 597ff62f3d75b8061a63238ec8794bf982bdf0a4 (patch) | |
tree | 2f36539a96abac03c16f215c4147f0d2753751c7 | |
parent | 48524661b975b20da3110dfc8386a1895063aa6e (diff) | |
download | qtconnectivity-597ff62f3d75b8061a63238ec8794bf982bdf0a4.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: I874f5f7560eb5817b5f2582d09d6dce7f7e54d2d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.tests/bluez/CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.tests/bluez_le/CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.tests/linux_crypto_api/CMakeLists.txt | 2 | ||||
-rw-r--r-- | config.tests/winrt_bt/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a2aa018c..7d3735e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15.0) +cmake_minimum_required(VERSION 3.16) include(.cmake.conf) project(QtConnectivity diff --git a/config.tests/bluez/CMakeLists.txt b/config.tests/bluez/CMakeLists.txt index 8238cc95..0f99f0d9 100644 --- a/config.tests/bluez/CMakeLists.txt +++ b/config.tests/bluez/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14.0) +cmake_minimum_required(VERSION 3.16) project(config_test_bluez LANGUAGES C CXX) foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) diff --git a/config.tests/bluez_le/CMakeLists.txt b/config.tests/bluez_le/CMakeLists.txt index 4eff292d..2ffc8574 100644 --- a/config.tests/bluez_le/CMakeLists.txt +++ b/config.tests/bluez_le/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14.0) +cmake_minimum_required(VERSION 3.16) project(config_test_bluez_le LANGUAGES C CXX) foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) diff --git a/config.tests/linux_crypto_api/CMakeLists.txt b/config.tests/linux_crypto_api/CMakeLists.txt index 7b388343..69a6f925 100644 --- a/config.tests/linux_crypto_api/CMakeLists.txt +++ b/config.tests/linux_crypto_api/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14.0) +cmake_minimum_required(VERSION 3.16) project(config_test_linux_crypto_api LANGUAGES C CXX) foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) diff --git a/config.tests/winrt_bt/CMakeLists.txt b/config.tests/winrt_bt/CMakeLists.txt index 6194843b..49c1eab9 100644 --- a/config.tests/winrt_bt/CMakeLists.txt +++ b/config.tests/winrt_bt/CMakeLists.txt @@ -1,4 +1,4 @@ -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 87f86bf1..786e9c9f 100644 --- a/tests/auto/cmake/CMakeLists.txt +++ b/tests/auto/cmake/CMakeLists.txt @@ -6,7 +6,7 @@ # `$qt_prefix/bin/qt-cmake ..` or `cmake -DCMAKE_PREFIX_PATH=/path/to/qt ..` # 4) ctest # Run ctest -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.16) project(connectivity_cmake_tests) enable_testing() |