[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Dec 9 14:07:21 EST 2008


Update of /cvsroot/CMake/CMake/Tests/FindPackageTest
In directory public:/mounts/ram/cvs-serv27754/Tests/FindPackageTest

Modified Files:
	CMakeLists.txt 
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/FindPackageTest/CMakeLists.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** CMakeLists.txt	3 Oct 2008 14:40:06 -0000	1.13
--- CMakeLists.txt	9 Dec 2008 19:07:19 -0000	1.14
***************
*** 86,95 ****
    "TApp.app/Contents/Resources/cmake/tapp-config.cmake")
  SET(VersionedA_EXPECTED "lib/zot-2.0/zot-config.cmake")
! SET(VersionedB_EXPECTED "lib/zot-3.1/zot-config.cmake")
  SET(wibbleA_EXPECTED "A/wibble-config.cmake")
  SET(wibbleB_EXPECTED "B/wibble-config.cmake")
  SET(RecursiveA_EXPECTED "lib/RecursiveA/recursivea-config.cmake")
  SET(RecursiveB_EXPECTED "lib/zot-2.0/zot-config.cmake")
! SET(RecursiveC_EXPECTED "lib/zot-3.1/zot-config.cmake")
  
  # Check the results.
--- 86,95 ----
    "TApp.app/Contents/Resources/cmake/tapp-config.cmake")
  SET(VersionedA_EXPECTED "lib/zot-2.0/zot-config.cmake")
! SET(VersionedB_EXPECTED "lib/cmake/zot-3.1/zot-config.cmake")
  SET(wibbleA_EXPECTED "A/wibble-config.cmake")
  SET(wibbleB_EXPECTED "B/wibble-config.cmake")
  SET(RecursiveA_EXPECTED "lib/RecursiveA/recursivea-config.cmake")
  SET(RecursiveB_EXPECTED "lib/zot-2.0/zot-config.cmake")
! SET(RecursiveC_EXPECTED "lib/cmake/zot-3.1/zot-config.cmake")
  
  # Check the results.



More information about the Cmake-commits mailing list