summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProjectLocal
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExternalProjectLocal')
-rw-r--r--Tests/ExternalProjectLocal/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/ExternalProjectLocal/CMakeLists.txt b/Tests/ExternalProjectLocal/CMakeLists.txt
index 1075a9d..789e4fb 100644
--- a/Tests/ExternalProjectLocal/CMakeLists.txt
+++ b/Tests/ExternalProjectLocal/CMakeLists.txt
@@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 2.8)
project(ExternalProjectLocalTest NONE)
+if(CMAKE_XCODE_BUILD_SYSTEM VERSION_GREATER_EQUAL 12)
+ cmake_policy(SET CMP0114 NEW)
+endif()
include(ExternalProject)