diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-07 19:09:33 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-07 19:12:15 (GMT) |
commit | 8b520158c3c378acde541d2e99103dc9ab834595 (patch) | |
tree | 2eda97267f35d34d43c76ccdaa0838d2a2fb40f2 /Source/cmMakefile.cxx | |
parent | 439877f6208e25790ab14ae0e66efc392949e9e2 (diff) | |
download | CMake-8b520158c3c378acde541d2e99103dc9ab834595.zip CMake-8b520158c3c378acde541d2e99103dc9ab834595.tar.gz CMake-8b520158c3c378acde541d2e99103dc9ab834595.tar.bz2 |
Push the initialize and unused states when copying
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; |