BUG: this seems to fix the regexp result-storage problem, now it seems the actual result is tored instead of "1" , as it happened for StringFileTest on Windows

Alex
This commit is contained in:
Alexander Neundorf 2007-08-29 14:35:06 -04:00
parent a4e6bd1515
commit 69e9848fb4
1 changed files with 1 additions and 1 deletions

View File

@ -384,8 +384,8 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
} }
if (regEntry.find(def)) if (regEntry.find(def))
{ {
*arg = "1";
cmStringCommand::StoreMatches(makefile, regEntry); cmStringCommand::StoreMatches(makefile, regEntry);
*arg = "1";
} }
else else
{ {