From 8b520158c3c378acde541d2e99103dc9ab834595 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 7 Sep 2010 15:09:33 -0400 Subject: Push the initialize and unused states when copying --- Source/cmMakefile.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 26b9a58..33c61a7 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -99,6 +99,8 @@ cmMakefile::cmMakefile(): Internal(new Internals) cmMakefile::cmMakefile(const cmMakefile& mf): Internal(new Internals) { this->Internal->VarStack.push(mf.Internal->VarStack.top().Closure()); + this->Internal->VarInitStack.push(mf.Internal->VarInitStack.top()); + this->Internal->VarUsageStack.push(mf.Internal->VarUsageStack.top()); this->Prefix = mf.Prefix; this->AuxSourceDirectories = mf.AuxSourceDirectories; -- cgit v0.12