summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGhsMultiGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-18 14:33:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 21:58:48 (GMT)
commit400e3d19fcebf7d6e9551d585d60754bd937c28c (patch)
tree85f6536bd0a32ac616face977c8244b5a47eb4d9 /Source/cmLocalGhsMultiGenerator.cxx
parent726e461b3885aca4144ec79d08bf62c7ebade96d (diff)
downloadCMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.zip
CMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.tar.gz
CMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.tar.bz2
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/cmLocalGhsMultiGenerator.cxx')
-rw-r--r--Source/cmLocalGhsMultiGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalGhsMultiGenerator.cxx b/Source/cmLocalGhsMultiGenerator.cxx
index a408a23..869ba2c 100644
--- a/Source/cmLocalGhsMultiGenerator.cxx
+++ b/Source/cmLocalGhsMultiGenerator.cxx
@@ -31,8 +31,7 @@ void cmLocalGhsMultiGenerator::Generate()
for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end();
++l)
{
- if (l->second->GetType() == cmState::INTERFACE_LIBRARY
- || l->second->IsImported())
+ if (l->second->GetType() == cmState::INTERFACE_LIBRARY)
{
continue;
}