diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTarget.cxx | 6 | ||||
-rw-r--r-- | Source/cmTarget.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 6759a3d..72c46ed 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -5207,7 +5207,7 @@ PropertyType checkInterfacePropertyCompatibility(cmTarget const* tgt, || (!impliedByUse && !explicitlySet)); std::vector<cmTarget*> deps; - tgt->GetTransitiveTargetClosure(config, deps); + tgt->GetLinkImplementationClosure(config, deps); if(deps.empty()) { @@ -5423,7 +5423,7 @@ bool isLinkDependentProperty(cmTarget const* tgt, const std::string &p, const std::string& config) { std::vector<cmTarget*> deps; - tgt->GetTransitiveTargetClosure(config, deps); + tgt->GetLinkImplementationClosure(config, deps); if(deps.empty()) { @@ -6142,7 +6142,7 @@ void processILibs(const std::string& config, } //---------------------------------------------------------------------------- -void cmTarget::GetTransitiveTargetClosure(const std::string& config, +void cmTarget::GetLinkImplementationClosure(const std::string& config, std::vector<cmTarget*> &tgts) const { std::set<cmTarget*> emitted; diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 762323f..2211338 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -276,8 +276,8 @@ public: void GetTransitivePropertyTargets(const std::string& config, cmTarget const* headTarget, std::vector<cmTarget*> &libs) const; - void GetTransitiveTargetClosure(const std::string& config, - std::vector<cmTarget*> &libs) const; + void GetLinkImplementationClosure(const std::string& config, + std::vector<cmTarget*> &libs) const; /** The link implementation specifies the direct library dependencies needed by the object files of the target. */ |