summaryrefslogtreecommitdiffstats
path: root/cmake/QtWriteArgsFile.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-09-22 15:11:47 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-09-22 19:36:49 +0200
commit0da123d67b0fd332691f98ae6957ef05e9e20e84 (patch)
tree23542c36a0d962048907d56eaa3ff97ab5b31c96 /cmake/QtWriteArgsFile.cmake
parentfb9cc529201dab24f864ede3e15114845aad0cdb (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/QtWriteArgsFile.cmake')
-rw-r--r--cmake/QtWriteArgsFile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtWriteArgsFile.cmake b/cmake/QtWriteArgsFile.cmake
index d21d050ed44..666806ffcc1 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)