summaryrefslogtreecommitdiff
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-17 15:12:13 -0400
committerBrad King <brad.king@kitware.com>2007-05-17 15:12:13 -0400
commitb8928b0c8e2d6e649cf52d28021cf349194f2485 (patch)
tree3ae692d050471c02ff5a2fa7d91ae96c9e0ff13c /Source/cmIfCommand.cxx
parentbdc7792e4003c2737e4b3e5b670795d5f59f667a (diff)
downloadcmake-b8928b0c8e2d6e649cf52d28021cf349194f2485.tar.gz
BUG: Do not complain about missing watched variables when they are accessd with IF(DEFINED VAR).
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r--Source/cmIfCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index e28956fc7d..2814f72100 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -315,7 +315,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
}
else
{
- def = makefile->GetDefinition((argP1)->c_str());
+ def = makefile->GetDefinitionNoWatch((argP1)->c_str());
}
if(def)
{