summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/zot/zot-config.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-10-03 14:41:15 (GMT)
committerBrad King <brad.king@kitware.com>2008-10-03 14:41:15 (GMT)
commit0ae545ebad1b6b2a6c851205854b887d19c8da59 (patch)
tree3ce7529352db9f46da5be76d7d83253a0ee2875a /Tests/FindPackageTest/lib/zot/zot-config.cmake
parent79e9b7555827ba0afe6e6b7d97c81002685ef519 (diff)
downloadCMake-0ae545ebad1b6b2a6c851205854b887d19c8da59.zip
CMake-0ae545ebad1b6b2a6c851205854b887d19c8da59.tar.gz
CMake-0ae545ebad1b6b2a6c851205854b887d19c8da59.tar.bz2
ENH: Add UNSUITABLE result to package version test
Package version test files may now declare that they are unsuitable for use with the project testing them. This is important when the version being tested does not provide a compatible ABI with the project target environment.
Diffstat (limited to 'Tests/FindPackageTest/lib/zot/zot-config.cmake')
-rw-r--r--Tests/FindPackageTest/lib/zot/zot-config.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/lib/zot/zot-config.cmake b/Tests/FindPackageTest/lib/zot/zot-config.cmake
new file mode 100644
index 0000000..442b8a4
--- /dev/null
+++ b/Tests/FindPackageTest/lib/zot/zot-config.cmake
@@ -0,0 +1,2 @@
+# Test config file that is unsuitable.
+MESSAGE(FATAL_ERROR "Unsuitable version of zot was found")