summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-17 19:12:13 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-17 19:12:13 (GMT)
commitb8928b0c8e2d6e649cf52d28021cf349194f2485 (patch)
tree3ae692d050471c02ff5a2fa7d91ae96c9e0ff13c /Source/cmIfCommand.cxx
parentbdc7792e4003c2737e4b3e5b670795d5f59f667a (diff)
downloadCMake-b8928b0c8e2d6e649cf52d28021cf349194f2485.zip
CMake-b8928b0c8e2d6e649cf52d28021cf349194f2485.tar.gz
CMake-b8928b0c8e2d6e649cf52d28021cf349194f2485.tar.bz2
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 e28956f..2814f72 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)
{