summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 22:17:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:18 (GMT)
commit8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb (patch)
tree773a0e77afed196a59d4df9d28e4f30dc8e7ff42
parent27916f2cd10904deda1a44bf221fbdef7ba1af66 (diff)
downloadCMake-8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb.zip
CMake-8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb.tar.gz
CMake-8c6e6dd3cef0befcd9a7f4c410a49a5afddd8afb.tar.bz2
cmMakefile: Inline initialization of project name.
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c060505..16c0c9a 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;