summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-02 17:07:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-02 17:07:41 (GMT)
commitfab69a3db9db0153962fdc6eab723f0df75326af (patch)
tree08cdad8c5533c80bd061f63862872fbe8a465616 /Source/cmLocalUnixMakefileGenerator3.cxx
parentea8d1a9ccab1020642cb71a158f104c2d2e953a4 (diff)
parent02a545c534d86652595cd282b10cb9ed9fad6239 (diff)
downloadCMake-fab69a3db9db0153962fdc6eab723f0df75326af.zip
CMake-fab69a3db9db0153962fdc6eab723f0df75326af.tar.gz
CMake-fab69a3db9db0153962fdc6eab723f0df75326af.tar.bz2
Merge topic 'use-generator-target'
02a545c Don't generate subdir convenience rules for IMPORTED targets.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 5ada88d..6ca386c 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -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.