summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 4da77e0..756c139 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -77,8 +77,7 @@ void cmLocalNinjaGenerator::Generate()
for(cmGeneratorTargetsType::iterator t = targets.begin();
t != targets.end(); ++t)
{
- if (t->second->GetType() == cmState::INTERFACE_LIBRARY
- || t->second->Target->IsImported())
+ if (t->second->GetType() == cmState::INTERFACE_LIBRARY)
{
continue;
}