summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 22:29:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 22:00:18 (GMT)
commit4ab2750c54adb09d147839687858aabe3cd988a7 (patch)
tree5e65bb636efca9bd1ca447d270882d6894b454b9 /Source/cmLocalNinjaGenerator.cxx
parentc8187f414bcc4668940c2e0fe40d361389efdbe5 (diff)
downloadCMake-4ab2750c54adb09d147839687858aabe3cd988a7.zip
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.gz
CMake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.bz2
cmLocalGenerator: Add GetProjectName method.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index c46adc1..b1e1d3f 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -183,7 +183,7 @@ void cmLocalNinjaGenerator::WriteProjectHeader(std::ostream& os)
{
cmGlobalNinjaGenerator::WriteDivider(os);
os
- << "# Project: " << this->GetMakefile()->GetProjectName() << std::endl
+ << "# Project: " << this->GetProjectName() << std::endl
<< "# Configuration: " << this->ConfigName << std::endl
;
cmGlobalNinjaGenerator::WriteDivider(os);