summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-02 21:01:14 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-03 15:52:22 (GMT)
commitf4aa34daa724cf80dd407d14cd5a091b6e390c62 (patch)
tree2da356f43aa70cf335fa0f8a98d2ee08d8c51a3d /Tests/RunCMake/BuildDepends
parent1d38d529958865cdb22d49c5f3f2f487558ccee2 (diff)
downloadCMake-f4aa34daa724cf80dd407d14cd5a091b6e390c62.zip
CMake-f4aa34daa724cf80dd407d14cd5a091b6e390c62.tar.gz
CMake-f4aa34daa724cf80dd407d14cd5a091b6e390c62.tar.bz2
Tests/RunCMake: Update cmake_minimum_required versions to 3.10
For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.10 where possible.
Diffstat (limited to 'Tests/RunCMake/BuildDepends')
-rw-r--r--Tests/RunCMake/BuildDepends/CMakeLists.txt2
-rw-r--r--Tests/RunCMake/BuildDepends/RunCMakeTest.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/BuildDepends/CMakeLists.txt b/Tests/RunCMake/BuildDepends/CMakeLists.txt
index 8eb5748..30c0273 100644
--- a/Tests/RunCMake/BuildDepends/CMakeLists.txt
+++ b/Tests/RunCMake/BuildDepends/CMakeLists.txt
@@ -1,3 +1,3 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.10)
project(${RunCMake_TEST} NONE)
include(${RunCMake_TEST}.cmake NO_POLICY_SCOPE)
diff --git a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
index dc8435c..a585dce 100644
--- a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
+++ b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
@@ -130,7 +130,7 @@ function(run_ReGeneration)
file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
file(REMOVE_RECURSE "${RunCMake_TEST_SOURCE_DIR}")
set(ProjectHeader [=[
- cmake_minimum_required(VERSION 3.5)
+ cmake_minimum_required(VERSION 3.10)
project(Regenerate-Project NONE)
]=])