summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/CMakeLists.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-03-14 15:58:34 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-06-10 18:35:28 (GMT)
commit1f9ef25130caa89969cc69b4873edf1723533a5f (patch)
treef48bf3864cc3c6ccd87e6efffcba2c1f582ac0e0 /Tests/RunCMake/install/CMakeLists.txt
parentf36719111de99e5be426552e9aaba96518b888b7 (diff)
downloadCMake-1f9ef25130caa89969cc69b4873edf1723533a5f.zip
CMake-1f9ef25130caa89969cc69b4873edf1723533a5f.tar.gz
CMake-1f9ef25130caa89969cc69b4873edf1723533a5f.tar.bz2
file: Add GET_RUNTIME_DEPENDENCIES mode
Co-Authored-by: Bryon Bean <bryon.bean@kitware.com>
Diffstat (limited to 'Tests/RunCMake/install/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/install/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/CMakeLists.txt b/Tests/RunCMake/install/CMakeLists.txt
index 6dd8cdf..c7e99ad 100644
--- a/Tests/RunCMake/install/CMakeLists.txt
+++ b/Tests/RunCMake/install/CMakeLists.txt
@@ -1,3 +1,6 @@
cmake_minimum_required(VERSION 3.4)
+if(RunCMake_TEST MATCHES "^file-GET_RUNTIME_DEPENDENCIES")
+ cmake_policy(SET CMP0087 NEW)
+endif()
project(${RunCMake_TEST} NONE)
include(${RunCMake_TEST}.cmake)