From c472345346fc6be94299f40f13222b8c8f538abe Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 28 Apr 2004 09:59:16 -0400 Subject: [PATCH] BUG: fix logic in EQUAL if test --- Source/cmIfCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 830e1ba5b7..1d9bbf9189 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -263,7 +263,7 @@ bool cmIfCommand::IsTrue(const std::vector &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; }