GHS: Don't attempt to generate for IMPORTED or INTERFACE targets.
This commit is contained in:
parent
550e08b012
commit
a4d230af7d
|
@ -31,6 +31,11 @@ void cmLocalGhsMultiGenerator::Generate()
|
|||
for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end();
|
||||
++l)
|
||||
{
|
||||
if (l->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY
|
||||
|| l->second->Target->IsImported())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
cmGhsMultiTargetGenerator tg(l->second->Target);
|
||||
tg.Generate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue