cmMakefile: Inline initialization of project name.

This commit is contained in:
Stephen Kelly 2015-10-07 00:17:20 +02:00
parent 27916f2cd1
commit 8c6e6dd3ce
1 changed files with 1 additions and 1 deletions

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;