summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/PolicyPop
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-24 18:36:18 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-24 19:01:21 (GMT)
commitb219ff94acf0b6c934c35e2ce42dfbf99580f1e8 (patch)
tree488e8148c6892db069e05260d9889a6adeebbd51 /Tests/RunCMake/find_package/PolicyPop
parent378185fb7f672113257502ef96cf7106c22dd39f (diff)
downloadCMake-b219ff94acf0b6c934c35e2ce42dfbf99580f1e8.zip
CMake-b219ff94acf0b6c934c35e2ce42dfbf99580f1e8.tar.gz
CMake-b219ff94acf0b6c934c35e2ce42dfbf99580f1e8.tar.bz2
Tests: Add case for package version file unmatched policy scope
Diffstat (limited to 'Tests/RunCMake/find_package/PolicyPop')
-rw-r--r--Tests/RunCMake/find_package/PolicyPop/PolicyPopConfig.cmake0
-rw-r--r--Tests/RunCMake/find_package/PolicyPop/PolicyPopConfigVersion.cmake3
2 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfig.cmake b/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfig.cmake
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfig.cmake
diff --git a/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfigVersion.cmake b/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfigVersion.cmake
new file mode 100644
index 0000000..483fb10
--- /dev/null
+++ b/Tests/RunCMake/find_package/PolicyPop/PolicyPopConfigVersion.cmake
@@ -0,0 +1,3 @@
+set(PACKAGE_VERSION 1)
+set(PACKAGE_VERSION_COMPATIBLE 1)
+cmake_policy(POP)