diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 15:12:13 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 15:12:13 -0400 |
commit | b8928b0c8e2d6e649cf52d28021cf349194f2485 (patch) | |
tree | 3ae692d050471c02ff5a2fa7d91ae96c9e0ff13c /Source/cmIfCommand.cxx | |
parent | bdc7792e4003c2737e4b3e5b670795d5f59f667a (diff) | |
download | cmake-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.cxx | 2 |
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) { |