diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-14 21:14:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:19 (GMT) |
commit | 983c00f8f97260e7650fcc440047b33898f0363c (patch) | |
tree | 49fc7fc17465e7d613e82d6cf305fdc4bf3f2f12 /Source/cmLocalGhsMultiGenerator.cxx | |
parent | 088fcbf733a7d1968fc3586a7077f22cb41e1917 (diff) | |
download | CMake-983c00f8f97260e7650fcc440047b33898f0363c.zip CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.gz CMake-983c00f8f97260e7650fcc440047b33898f0363c.tar.bz2 |
Generators: Use GetType from the cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalGhsMultiGenerator.cxx')
-rw-r--r-- | Source/cmLocalGhsMultiGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGhsMultiGenerator.cxx b/Source/cmLocalGhsMultiGenerator.cxx index 721f239..195a1e0 100644 --- a/Source/cmLocalGhsMultiGenerator.cxx +++ b/Source/cmLocalGhsMultiGenerator.cxx @@ -31,7 +31,7 @@ void cmLocalGhsMultiGenerator::Generate() for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end(); ++l) { - if (l->second->Target->GetType() == cmTarget::INTERFACE_LIBRARY + if (l->second->GetType() == cmTarget::INTERFACE_LIBRARY || l->second->Target->IsImported()) { continue; |