diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 00:17:20 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-09 00:00:18 +0200 |
commit | 8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb (patch) | |
tree | 773a0e77afed196a59d4df9d28e4f30dc8e7ff42 /Source/cmMakefile.cxx | |
parent | 27916f2cd10904deda1a44bf221fbdef7ba1af66 (diff) | |
download | cmake-8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb.tar.gz |
cmMakefile: Inline initialization of project name.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c060505574..16c0c9a35b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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; |