diff options
author | Brad King <brad.king@kitware.com> | 2015-11-24 18:36:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-24 19:01:21 (GMT) |
commit | b219ff94acf0b6c934c35e2ce42dfbf99580f1e8 (patch) | |
tree | 488e8148c6892db069e05260d9889a6adeebbd51 /Tests/RunCMake/find_package/PolicyPop | |
parent | 378185fb7f672113257502ef96cf7106c22dd39f (diff) | |
download | CMake-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.cmake | 0 | ||||
-rw-r--r-- | Tests/RunCMake/find_package/PolicyPop/PolicyPopConfigVersion.cmake | 3 |
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) |