[Cmake-commits] [cmake-commits] king committed readme.txt 1.15 1.16

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Feb 16 10:33:13 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv24916/Modules

Modified Files:
	readme.txt 
Log Message:
STYLE: Note find_package COMPONENTS in modules doc

This mentions the COMPONENTS option of find_package in the module author
documentation file "Modules/readme.txt".  See issue #8539.


Index: readme.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/readme.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C 2 -d -r1.15 -r1.16
*** readme.txt	10 Sep 2008 14:11:47 -0000	1.15
--- readme.txt	16 Feb 2009 15:33:09 -0000	1.16
***************
*** 69,73 ****
  
    FIND_PACKAGE(XXX [major[.minor[.patch[.tweak]]]] [EXACT]
!                [QUIET] [REQUIRED [components...]])
  
  If any version numbers are given to the command it will set the
--- 69,73 ----
  
    FIND_PACKAGE(XXX [major[.minor[.patch[.tweak]]]] [EXACT]
!                [QUIET] [[REQUIRED|COMPONENTS] [components...]])
  
  If any version numbers are given to the command it will set the
***************
*** 97,101 ****
  package cannot be found.  For each package-specific component, say
  YYY, listed after the REQUIRED option a variable XXX_FIND_REQUIRED_YYY
! to true.  The set of components listed will also be specified in a
  XXX_FIND_COMPONENTS variable.  This can be used by the FindXXX.cmake
  module to determine which sub-components of the package must be found.
--- 97,102 ----
  package cannot be found.  For each package-specific component, say
  YYY, listed after the REQUIRED option a variable XXX_FIND_REQUIRED_YYY
! to true.  The set of components listed after either the REQUIRED
! option or the COMPONENTS option will be specified in a
  XXX_FIND_COMPONENTS variable.  This can be used by the FindXXX.cmake
  module to determine which sub-components of the package must be found.



More information about the Cmake-commits mailing list