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 /cmake | |
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 'cmake')
-rw-r--r-- | cmake/QtWriteArgsFile.cmake | 2 | ||||
-rw-r--r-- | cmake/tests/features/CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake/tests/qt_make_output_file/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cmake/QtWriteArgsFile.cmake b/cmake/QtWriteArgsFile.cmake index d21d050ed4..666806ffcc 100644 --- a/cmake/QtWriteArgsFile.cmake +++ b/cmake/QtWriteArgsFile.cmake @@ -8,7 +8,7 @@ # SKIP_ARGS: Number of arguments to skip from the front of the arguments list. # IGNORE_ARGS: List of arguments to be ignored, i.e. that are not written. -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.16) # Read arguments from IN_FILE and separate them. file(READ "${IN_FILE}" raw_args) diff --git a/cmake/tests/features/CMakeLists.txt b/cmake/tests/features/CMakeLists.txt index 0fff2b8be9..8fe611b835 100644 --- a/cmake/tests/features/CMakeLists.txt +++ b/cmake/tests/features/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12.0) +cmake_minimum_required(VERSION 3.16) project(FeaturesTest VERSION 1.0.0 diff --git a/cmake/tests/qt_make_output_file/CMakeLists.txt b/cmake/tests/qt_make_output_file/CMakeLists.txt index 3620909494..ad1162e538 100644 --- a/cmake/tests/qt_make_output_file/CMakeLists.txt +++ b/cmake/tests/qt_make_output_file/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12.0) +cmake_minimum_required(VERSION 3.16) project(QtMakeOutputFileTest VERSION 1.0.0 |