summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-29 18:35:06 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-29 18:35:06 (GMT)
commit69e9848fb44ab3f27bf400666a7d2f16ed74f5a6 (patch)
treea3226e20771703087ee279779d1a9375b7715f3e /Source/cmIfCommand.cxx
parenta4e6bd15158b771b747a2bc0cd716412beff70b6 (diff)
downloadCMake-69e9848fb44ab3f27bf400666a7d2f16ed74f5a6.zip
CMake-69e9848fb44ab3f27bf400666a7d2f16ed74f5a6.tar.gz
CMake-69e9848fb44ab3f27bf400666a7d2f16ed74f5a6.tar.bz2
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
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 12d156c..f5bd6cc 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -384,8 +384,8 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
}
if (regEntry.find(def))
{
- *arg = "1";
cmStringCommand::StoreMatches(makefile, regEntry);
+ *arg = "1";
}
else
{