diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-22 15:11:47 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-09-24 13:56:23 +0200 |
commit | 2e54ddd000c50a5ff6dad4b78e91ea373799e7fc (patch) | |
tree | 2f240f9b54997240d27de8b093f13f18fbc45754 /util | |
parent | 000cbc3c4cd3689321195f2d0e6ec3594ea2338c (diff) |
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: Ieaf82c10987dd797d86a3fd4a986a67e72de486a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit 0da123d67b0fd332691f98ae6957ef05e9e20e84)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index e4b316e038..15c7b48189 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -4446,7 +4446,7 @@ def write_regular_cmake_target_scope_section( def handle_config_test_project(scope: Scope, cm_fh: IO[str]): project_name = os.path.splitext(os.path.basename(scope.file_absolute_path))[0] content = ( - f"cmake_minimum_required(VERSION 3.14.0)\n" + f"cmake_minimum_required(VERSION 3.16)\n" f"project(config_test_{project_name} LANGUAGES C CXX)\n" """ foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) |