diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 23:01:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:58 (GMT) |
commit | 9ca4cae51e8fb67e628fe7b41eea3f459f148237 (patch) | |
tree | 6b0e7b37b6b316be6a0ad23268b7430bf2854434 /Source/cmComputeTargetDepends.cxx | |
parent | d6b394edcb58752cfa3d2a34a81f558676781304 (diff) | |
download | CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.zip CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.tar.gz CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.tar.bz2 |
cmGeneratorTarget: Move GetUtilityItems from cmTarget.
Diffstat (limited to 'Source/cmComputeTargetDepends.cxx')
-rw-r--r-- | Source/cmComputeTargetDepends.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeTargetDepends.cxx b/Source/cmComputeTargetDepends.cxx index 18aad10..e53b7b9 100644 --- a/Source/cmComputeTargetDepends.cxx +++ b/Source/cmComputeTargetDepends.cxx @@ -272,7 +272,7 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index) // Loop over all utility dependencies. { - std::set<cmLinkItem> const& tutils = depender->Target->GetUtilityItems(); + std::set<cmLinkItem> const& tutils = depender->GetUtilityItems(); std::set<std::string> emitted; // A target should not depend on itself. emitted.insert(depender->GetName()); @@ -426,7 +426,7 @@ void cmComputeTargetDepends::AddTargetDepend(int depender_index, { // Skip IMPORTED and INTERFACE targets but follow their utility // dependencies. - std::set<cmLinkItem> const& utils = dependee->Target->GetUtilityItems(); + std::set<cmLinkItem> const& utils = dependee->GetUtilityItems(); for(std::set<cmLinkItem>::const_iterator i = utils.begin(); i != utils.end(); ++i) { |