summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-08 15:58:06 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-08 15:58:06 (GMT)
commit62e73a7d10fdfcc81dd3a06e873e662bf2137168 (patch)
treeb9491eef568388939e19fa8a7b8fe428655d825e /Tests
parent302b00a2628860eeac59688795db337b8b7984c1 (diff)
downloadCMake-62e73a7d10fdfcc81dd3a06e873e662bf2137168.zip
CMake-62e73a7d10fdfcc81dd3a06e873e662bf2137168.tar.gz
CMake-62e73a7d10fdfcc81dd3a06e873e662bf2137168.tar.bz2
Tests: Fix policy version in RunCMake.ExternalProject test
Now that we have policies that need to be tested, this test cannot just use CMAKE_VERSION for the policy level.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/ExternalProject/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/ExternalProject/CMakeLists.txt b/Tests/RunCMake/ExternalProject/CMakeLists.txt
index 9cb093a..933a57a 100644
--- a/Tests/RunCMake/ExternalProject/CMakeLists.txt
+++ b/Tests/RunCMake/ExternalProject/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION ${CMAKE_VERSION})
+cmake_minimum_required(VERSION 3.18)
project(${RunCMake_TEST} NONE)
if(CMAKE_XCODE_BUILD_SYSTEM VERSION_GREATER_EQUAL 12 AND NOT RunCMake_TEST STREQUAL "Xcode-CMP0114")
cmake_policy(SET CMP0114 NEW)