cmMakefile: Inline initialization of project name.

This commit is contained in:
Stephen Kelly
2015-10-09 00:00:18 +02:00
parent 27916f2cd1
commit 8c6e6dd3ce
+1 -1
View File
@@ -1529,7 +1529,7 @@ void cmMakefile::InitializeFromParent(cmMakefile* parent)
parent->GetProperty("LINK_DIRECTORIES"));
// the initial project name
this->SetProjectName(parent->GetProjectName());
this->StateSnapshot.SetProjectName(parent->StateSnapshot.GetProjectName());
// Copy include regular expressions.
this->ComplainFileRegularExpression = parent->ComplainFileRegularExpression;