Merge topic 'use-generator-target'

02a545c Don't generate subdir convenience rules for IMPORTED targets.
This commit is contained in:
Brad King 2013-12-02 12:07:41 -05:00 committed by CMake Topic Stage
commit fab69a3db9
1 changed files with 5 additions and 0 deletions

View File

@ -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.