summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-05 19:12:55 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-05 19:14:29 (GMT)
commitf63304d982d72e76541d40bbf35793a43e284fe9 (patch)
tree9b1dca20d89e643a2a361d8c1c516ffd456ef27e /Source/cmIfCommand.h
parent60b59a54c1f399840fc468129cc25207fd388001 (diff)
downloadCMake-f63304d982d72e76541d40bbf35793a43e284fe9.zip
CMake-f63304d982d72e76541d40bbf35793a43e284fe9.tar.gz
CMake-f63304d982d72e76541d40bbf35793a43e284fe9.tar.bz2
if: Document that plain 'NOTFOUND' is a false constant
Previously we only mentioned the '-NOTFOUND' suffix. Reported-by: Nils Gladitz <gladitz@sci-vis.de>
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 0a1fe06..f794b78 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -114,7 +114,7 @@ public:
"will be evaluated. Possible expressions are:\n"
" if(<constant>)\n"
"True if the constant is 1, ON, YES, TRUE, Y, or a non-zero number. "
- "False if the constant is 0, OFF, NO, FALSE, N, IGNORE, \"\", "
+ "False if the constant is 0, OFF, NO, FALSE, N, IGNORE, NOTFOUND, '', "
"or ends in the suffix '-NOTFOUND'. "
"Named boolean constants are case-insensitive. "
"If the argument is not one of these constants, "