[Cmake-commits] [cmake-commits] king committed BazConfig.cmake NONE 1.1 BazConfigVersion.cmake NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Dec 17 09:24:07 EST 2008


Update of /cvsroot/CMake/CMake/Tests/FindPackageTest/Baz 1.1
In directory public:/mounts/ram/cvs-serv18676/Tests/FindPackageTest/Baz 1.1

Added Files:
	BazConfig.cmake BazConfigVersion.cmake 
Log Message:
ENH: Teach find_package about more install dirs

We now search in

  <prefix>/<name>*/
  <prefix>/<name>*/(cmake|CMake)

when looking for package configuration files.  This is useful on Windows
since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH.  These
paths are the Windows equivalent to the Apple convention application and
framework paths we already search.  See issue #8264.


--- NEW FILE: BazConfig.cmake ---
# Test config file.

--- NEW FILE: BazConfigVersion.cmake ---
SET(PACKAGE_VERSION 1.1)
IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
  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 1)




More information about the Cmake-commits mailing list