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-22 19:36:49 +0200 |
commit | 0da123d67b0fd332691f98ae6957ef05e9e20e84 (patch) | |
tree | 23542c36a0d962048907d56eaa3ff97ab5b31c96 /util/cmake/pro2cmake.py | |
parent | fb9cc529201dab24f864ede3e15114845aad0cdb (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.
Pick-to: 6.2
Task-number: QTBUG-95018
Change-Id: Ieaf82c10987dd797d86a3fd4a986a67e72de486a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'util/cmake/pro2cmake.py')
-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 9a780e6132..0bb68ee936 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}) |