mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Merge topic 'use-generator-target'
02a545c Don't generate subdir convenience rules for IMPORTED targets.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user