[cmake-commits] alex committed cmFindBase.cxx 1.33 1.34

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 17 17:49:32 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4903

Modified Files:
	cmFindBase.cxx 
Log Message:
STYLE: PATHS is optional (#6253)

Alex


Index: cmFindBase.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindBase.cxx,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- cmFindBase.cxx	17 Jan 2008 22:43:04 -0000	1.33
+++ cmFindBase.cxx	17 Jan 2008 22:49:30 -0000	1.34
@@ -23,14 +23,14 @@
   this->AlreadyInCache = false;
   this->AlreadyInCacheWithoutMetaInfo = false;
   this->GenericDocumentation = 
-    "   FIND_XXX(<VAR> name1 path1 path2 ...)\n"
+    "   FIND_XXX(<VAR> name1 [path1 path2 ...])\n"
     "This is the short-hand signature for the command that "
     "is sufficient in many cases.  It is the same "
-    "as FIND_XXX(<VAR> name1 PATHS path1 path2 ...)\n"
+    "as FIND_XXX(<VAR> name1 [PATHS path1 path2 ...])\n"
     "   FIND_XXX(\n"
     "             <VAR>\n"
     "             name | NAMES name1 [name2 ...]\n"
-    "             PATHS path1 [path2 ... ENV var]\n"
+    "             [PATHS path1 [path2 ... ENV var]]\n"
     "             [PATH_SUFFIXES suffix1 [suffix2 ...]]\n"
     "             [DOC \"cache documentation string\"]\n"
     "             [NO_DEFAULT_PATH]\n"



More information about the Cmake-commits mailing list