mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
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.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user