summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/CMP0062-WARN.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-05 14:40:13 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-05 14:44:26 (GMT)
commite86383e135e4cae9d54575445d945df1f6272b3a (patch)
treecd82bc7099b0295e968e8dba337625a4a071ad1c /Tests/RunCMake/install/CMP0062-WARN.cmake
parenta5a5a6857241c21d306661d723b749839f4c6e1a (diff)
downloadCMake-e86383e135e4cae9d54575445d945df1f6272b3a.zip
CMake-e86383e135e4cae9d54575445d945df1f6272b3a.tar.gz
CMake-e86383e135e4cae9d54575445d945df1f6272b3a.tar.bz2
Tests: Use newer policy settings in RunCMake.install test
In particular, avoid CMP0042 warnings on OS X.
Diffstat (limited to 'Tests/RunCMake/install/CMP0062-WARN.cmake')
-rw-r--r--Tests/RunCMake/install/CMP0062-WARN.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/CMP0062-WARN.cmake b/Tests/RunCMake/install/CMP0062-WARN.cmake
index 0435a64..018f822 100644
--- a/Tests/RunCMake/install/CMP0062-WARN.cmake
+++ b/Tests/RunCMake/install/CMP0062-WARN.cmake
@@ -1,3 +1,4 @@
+cmake_policy(VERSION 3.2)
add_library(iface INTERFACE)
export(TARGETS iface FILE "${CMAKE_CURRENT_BINARY_DIR}/exported.cmake")