diff options
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index 98557cc..138ddbb 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -70,13 +70,13 @@ void cmGlobalKdevelopGenerator::Generate() lg!=lgs.end(); lg++) { cmMakefile* makefile=(*lg)->GetMakefile(); - cmTargets& targets=makefile->GetTargets(); - for (cmTargets::iterator ti = targets.begin(); + cmGeneratorTargetsType const& targets = makefile->GetGeneratorTargets(); + for (cmGeneratorTargetsType::const_iterator ti = targets.begin(); ti != targets.end(); ti++) { - if (ti->second.GetType()==cmTarget::EXECUTABLE) + if (ti->second->GetType()==cmTarget::EXECUTABLE) { - executable = ti->second.GetLocation(""); + executable = ti->second->GetLocation(""); break; } } |