mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
GHS: Don't attempt to generate for IMPORTED or INTERFACE targets.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user