summaryrefslogtreecommitdiff
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 05:21:07 +0200
committerBrad King <brad.king@kitware.com>2015-10-14 13:32:09 -0400
commit2293d43d00ddcff86c70f0b06014223f3b01e36c (patch)
treea5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmExtraEclipseCDT4Generator.cxx
parent488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff)
downloadcmake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index fdfa35e001..b7aeb02ced 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -965,8 +965,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
it != this->GlobalGenerator->GetLocalGenerators().end();
++it)
{
- cmGeneratorTargetsType targets = (*it)->GetMakefile()
- ->GetGeneratorTargets();
+ cmGeneratorTargetsType targets = (*it)->GetGeneratorTargets();
for (cmGeneratorTargetsType::iterator l = targets.begin();
l != targets.end(); ++l)
{