[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
Mon Jan 28 20:38:50 EST 2008
Update of /cvsroot/CMake/CMake/Tests/FindPackageTest/lib/zot-3.0
In directory public:/mounts/ram/cvs-serv17606/Tests/FindPackageTest/lib/zot-3.0
Added Files:
zot-config-version.cmake zot-config.cmake
Log Message:
ENH: Added version support to Config mode of find_package command.
- Added EXACT option to request an exact version.
- Enforce version using check provided by package.
- Updated FindPackageTest to test versioning in config mode.
--- NEW FILE: zot-config.cmake ---
# Test config file.
--- NEW FILE: zot-config-version.cmake ---
SET(PACKAGE_VERSION 3.0)
IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
SET(PACKAGE_VERSION_COMPATIBLE 1)
ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3)
More information about the Cmake-commits
mailing list