summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-12 17:34:06 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-13 22:34:11 (GMT)
commit2bf7de167f0b72b07c6246679c964d83cdc47d45 (patch)
treee2a9b990f9134adeeac21b58e61c6e103a1eb9a6 /Source/cmMakefile.cxx
parent0aa34de5493732d219dd3f58634222677bd19e22 (diff)
downloadCMake-2bf7de167f0b72b07c6246679c964d83cdc47d45.zip
CMake-2bf7de167f0b72b07c6246679c964d83cdc47d45.tar.gz
CMake-2bf7de167f0b72b07c6246679c964d83cdc47d45.tar.bz2
Subdirs: Initialize from parent before configuring.
Add new API for the subdirs command to cmState. This fixes a regression introduced in commit f716460e (cmMakefile: Move invokation to initialize snapshot., 2015-10-06).
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 3f94125..ce95b2c 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1647,6 +1647,7 @@ void cmMakefile::Configure()
std::vector<cmMakefile*>::iterator sdi = subdirs.begin();
for (; sdi != subdirs.end(); ++sdi)
{
+ (*sdi)->StateSnapshot.InitializeFromParent_ForSubdirsCommand();
this->ConfigureSubDirectory(*sdi);
}