diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:05:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:24:44 (GMT) |
commit | ed09f3b292bee34e8b30204c93ef5596a3124d00 (patch) | |
tree | 15ef1a2cc957729b4b5d56f907e57881a87c9d51 /Source/cmComputeTargetDepends.cxx | |
parent | beff29f0d4bf1ffface0e6833f29f2f04ceccf0b (diff) | |
download | CMake-ed09f3b292bee34e8b30204c93ef5596a3124d00.zip CMake-ed09f3b292bee34e8b30204c93ef5596a3124d00.tar.gz CMake-ed09f3b292bee34e8b30204c93ef5596a3124d00.tar.bz2 |
Use IsImported from cmGeneratorTarget.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r-- | Source/cmComputeTargetDepends.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx index f6de2ab..a5a1f29 100644 --- a/Source/cmComputeTargetDepends.cxx +++ b/Source/cmComputeTargetDepends.cxx @@ -417,7 +417,7 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index, const cmGeneratorTarget* dependee, bool linking) { - if(dependee->Target->IsImported() || + if(dependee->IsImported() || dependee->GetType() == cmState::INTERFACE_LIBRARY) { // Skip IMPORTED and INTERFACE targets but follow their utility |