diff options
author | Brad King <brad.king@kitware.com> | 2023-02-06 19:23:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-11 11:24:22 (GMT) |
commit | 1edf1385064d67885bafe09d472f82bf62d34641 (patch) | |
tree | 44bbd397ed6def8d51e71a473a6817c2a1386339 /Tests/RunCMake/ctest_update | |
parent | 65a1c379eeb5845a910c32d3ccfd155b0ddb55af (diff) | |
download | CMake-1edf1385064d67885bafe09d472f82bf62d34641.zip CMake-1edf1385064d67885bafe09d472f82bf62d34641.tar.gz CMake-1edf1385064d67885bafe09d472f82bf62d34641.tar.bz2 |
Tests/RunCMake: Update cmake_minimum_required versions
For policy-specific tests, use the version before the policy was
introduced. Otherwise, use 3.5 where possible.
Also, remove `cmake_minimum_required()` and `project()` calls from
individual cases where they are handled by `CMakeLists.txt`.
Diffstat (limited to 'Tests/RunCMake/ctest_update')
-rw-r--r-- | Tests/RunCMake/ctest_update/CMakeLists.txt.in | 2 | ||||
-rw-r--r-- | Tests/RunCMake/ctest_update/test.cmake.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ctest_update/CMakeLists.txt.in b/Tests/RunCMake/ctest_update/CMakeLists.txt.in index ecf0e54..f816fac 100644 --- a/Tests/RunCMake/ctest_update/CMakeLists.txt.in +++ b/Tests/RunCMake/ctest_update/CMakeLists.txt.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) project(CTestTest@CASE_NAME@ NONE) include(CTest) @CASE_CMAKELISTS_SUFFIX_CODE@ diff --git a/Tests/RunCMake/ctest_update/test.cmake.in b/Tests/RunCMake/ctest_update/test.cmake.in index 01aab26..faaf9b4 100644 --- a/Tests/RunCMake/ctest_update/test.cmake.in +++ b/Tests/RunCMake/ctest_update/test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) @CASE_TEST_PREFIX_CODE@ set(CTEST_SITE "test-site") |