summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/zot-3.1
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-12-09 19:07:19 (GMT)
committerBrad King <brad.king@kitware.com>2008-12-09 19:07:19 (GMT)
commite51969ac4935999779be2cb8b74a06b218d73dd0 (patch)
tree6c77b95571928b1dad028ebd6a7f250d6658a105 /Tests/FindPackageTest/lib/zot-3.1
parent4f5a8b9c0c5d72837981880c5a795d69acd73dac (diff)
downloadCMake-e51969ac4935999779be2cb8b74a06b218d73dd0.zip
CMake-e51969ac4935999779be2cb8b74a06b218d73dd0.tar.gz
CMake-e51969ac4935999779be2cb8b74a06b218d73dd0.tar.bz2
ENH: Add useful search locations to find_package
This teaches find_package to search <prefix>/(share|lib)/cmake/<name>*/ for package configuration files. Packages that do not already have files in a <prefix>/lib/<name>* directory can use this location to avoid cluttering the lib directory.
Diffstat (limited to 'Tests/FindPackageTest/lib/zot-3.1')
-rw-r--r--Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake8
-rw-r--r--Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake1
2 files changed, 0 insertions, 9 deletions
diff --git a/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake b/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake
deleted file mode 100644
index b54d94c..0000000
--- a/Tests/FindPackageTest/lib/zot-3.1/zot-config-version.cmake
+++ /dev/null
@@ -1,8 +0,0 @@
-SET(PACKAGE_VERSION 3.1)
-IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
- SET(PACKAGE_VERSION_COMPATIBLE 1)
- IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
- SET(PACKAGE_VERSION_EXACT 1)
- ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1)
-ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
-
diff --git a/Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake b/Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake
deleted file mode 100644
index deffa57..0000000
--- a/Tests/FindPackageTest/lib/zot-3.1/zot-config.cmake
+++ /dev/null
@@ -1 +0,0 @@
-# Test config file.