summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-19 13:18:59 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-19 13:18:59 (GMT)
commitbfe885f6eff32f00d26e619d6604d13cc6dc4655 (patch)
tree2ade50dd623476dbdbdbb4469d15e567e34ea315 /Source/cmFindBase.cxx
parente9fb6cd51afebff3db47686ee24e65bc858b0895 (diff)
downloadCMake-bfe885f6eff32f00d26e619d6604d13cc6dc4655.zip
CMake-bfe885f6eff32f00d26e619d6604d13cc6dc4655.tar.gz
CMake-bfe885f6eff32f00d26e619d6604d13cc6dc4655.tar.bz2
ENH: Clarified search behavior when the objective is not found.
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index fec625e..a22ca27 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -57,8 +57,13 @@ cmFindBase::cmFindBase()
""
"This command is used to find a SEARCH_XXX_DESC. "
"A cache entry named by <VAR> is created to store the result "
- "of this command. If nothing is found, the result will be "
- "<VAR>-NOTFOUND. The name of the SEARCH_XXX that "
+ "of this command. "
+ "If the SEARCH_XXX is found the result is stored in the variable "
+ "and the search will not be repeated unless the variable is cleared. "
+ "If nothing is found, the result will be "
+ "<VAR>-NOTFOUND, and the search will be attempted again the "
+ "next time FIND_XXX is invoked with the same variable. "
+ "The name of the SEARCH_XXX that "
"is searched for is specified by the names listed "
"after the NAMES argument. Additional search locations "
"can be specified after the PATHS argument. If ENV var is "