[Cmake-commits] [cmake-commits] king committed zot-config-version.cmake 1.2 1.3 zot-config.cmake 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Dec 16 09:13:41 EST 2008
Update of /cvsroot/CMake/CMake/Tests/FindPackageTest/lib/zot-3.1
In directory public:/mounts/ram/cvs-serv23487/Tests/FindPackageTest/lib/zot-3.1
Added Files:
zot-config-version.cmake zot-config.cmake
Log Message:
ENH: Strengthen FindPackageTest version check
The previous change to test finding in lib/cmake/<name>* weakened the
versioned find tests. Since the lib/cmake paths are searched before
lib/<name>* paths the previous change skipped requiring the command to
ignore zot-3.0 when finding zot-3.1. This change restores that and adds
zot-4.0 to test the lib/cmake path.
--- 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