summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmConfigureFile.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmConfigureFile.cxx b/Source/cmConfigureFile.cxx
index a94d915..8171faf 100644
--- a/Source/cmConfigureFile.cxx
+++ b/Source/cmConfigureFile.cxx
@@ -93,7 +93,9 @@ void cmConfigureFile::FinalPass()
{
inLine = buffer;
m_Makefile->ExpandVariablesInString(inLine);
- m_Makefile->RemoveVariablesInString(inLine);
+ // This call will remove all tcl variable substitutions of the form ${Foo}
+ // m_Makefile->RemoveVariablesInString(inLine);
+
// look for special cmakedefine symbol and handle it
// is the symbol defined
if (cmdefine.find(inLine))