summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-05 22:33:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-07 18:19:42 (GMT)
commit28749903b67d71b35f6ff74dab7c6db1a648a1c8 (patch)
treea976993929c37e41cef23d593fa5572b20cde541 /Source/cmMakefile.cxx
parent6c02f62f75735f6e60549ef53b06bd87e843bc35 (diff)
downloadCMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.zip
CMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.tar.gz
CMake-28749903b67d71b35f6ff74dab7c6db1a648a1c8.tar.bz2
cmState: Internalize the initialization of a snapshot from its parent.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 2c9dfbb..c060505 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1761,8 +1761,6 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
this->ContextStack.back()->Name,
this->ContextStack.back()->Line);
- newSnapshot.InitializeFromParent();
-
newSnapshot.GetDirectory().SetCurrentSource(srcPath);
newSnapshot.GetDirectory().SetCurrentBinary(binPath);