BUG: fix logic in EQUAL if test

This commit is contained in:
Bill Hoffman 2004-04-28 09:59:16 -04:00
parent 79269fc5a9
commit c472345346
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
{
def = cmIfCommand::GetVariableOrString(args[0].c_str(), makefile);
def2 = cmIfCommand::GetVariableOrString(args[2].c_str(), makefile);
if(atof(def) == atof(def2))
if(atof(def) != atof(def2))
{
isTrue = false;
}