[Cmake-commits] [cmake-commits] king committed zot-config-version.cmake NONE 1.1 zot-config.cmake NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Dec 9 14:07:22 EST 2008
Update of /cvsroot/CMake/CMake/Tests/FindPackageTest/lib/cmake/zot-3.1
In directory public:/mounts/ram/cvs-serv27754/Tests/FindPackageTest/lib/cmake/zot-3.1
Added Files:
zot-config-version.cmake zot-config.cmake
Log Message:
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.
--- NEW FILE: zot-config.cmake ---
# Test config file.
--- NEW FILE: zot-config-version.cmake ---
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)
More information about the Cmake-commits
mailing list