Merge topic 'use-generator-target'
02a545c
Don't generate subdir convenience rules for IMPORTED targets.
This commit is contained in:
commit
fab69a3db9
|
@ -391,6 +391,11 @@ void cmLocalUnixMakefileGenerator3
|
|||
(t->second->GetType() == cmTarget::INTERFACE_LIBRARY) ||
|
||||
(t->second->GetType() == cmTarget::UTILITY))
|
||||
{
|
||||
if (t->second->Target->IsImported())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
emitted.insert(t->second->GetName());
|
||||
|
||||
// for subdirs add a rule to build this specific target by name.
|
||||
|
|
Loading…
Reference in New Issue