summaryrefslogtreecommitdiff
path: root/Source/cmGlobalKdevelopGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-07 00:29:25 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-09 00:00:18 +0200
commit4ab2750c54adb09d147839687858aabe3cd988a7 (patch)
tree5e65bb636efca9bd1ca447d270882d6894b454b9 /Source/cmGlobalKdevelopGenerator.cxx
parentc8187f414bcc4668940c2e0fe40d361389efdbe5 (diff)
downloadcmake-4ab2750c54adb09d147839687858aabe3cd988a7.tar.gz
cmLocalGenerator: Add GetProjectName method.
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r--Source/cmGlobalKdevelopGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx
index c40f846ae7..0c95be0aeb 100644
--- a/Source/cmGlobalKdevelopGenerator.cxx
+++ b/Source/cmGlobalKdevelopGenerator.cxx
@@ -52,7 +52,7 @@ void cmGlobalKdevelopGenerator::Generate()
cmMakefile* mf = it->second[0]->GetMakefile();
std::string outputDir=mf->GetCurrentBinaryDirectory();
std::string projectDir=mf->GetHomeDirectory();
- std::string projectName=mf->GetProjectName();
+ std::string projectName=it->second[0]->GetProjectName();
std::string cmakeFilePattern("CMakeLists.txt;*.cmake;");
std::string fileToOpen;
const std::vector<cmLocalGenerator*>& lgs= it->second;