summaryrefslogtreecommitdiff
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-18 16:33:48 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-20 23:58:48 +0200
commit400e3d19fcebf7d6e9551d585d60754bd937c28c (patch)
tree85f6536bd0a32ac616face977c8244b5a47eb4d9 /Source/cmGlobalGenerator.cxx
parent726e461b3885aca4144ec79d08bf62c7ebade96d (diff)
downloadcmake-400e3d19fcebf7d6e9551d585d60754bd937c28c.tar.gz
cmLocalGenerator: Don't store imported generator targets
No consumers need them. This makes GetGeneratorTargets more comparable to cmMakefile::GetTargets, which does not include imported targets.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1142ddd2e8..aecae355f3 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1595,7 +1595,6 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
{
cmGeneratorTarget* gt = new cmGeneratorTarget(*j, lg);
this->GeneratorTargets[*j] = gt;
- generatorTargets[*j] = gt;
}
lg->SetGeneratorTargets(generatorTargets);
}