diff options
author | Brad King <brad.king@kitware.com> | 2014-06-12 20:21:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-23 13:14:45 (GMT) |
commit | 4ac72455fd7027039d498f007fdfe7c1d819b9f9 (patch) | |
tree | 5544340ad7af8cfbf7670d0eac7c705096b05519 /Source/cmComputeLinkInformation.cxx | |
parent | bcdb7ff9df8fb831e952a3909da11da51773a30f (diff) | |
download | CMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.zip CMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.tar.gz CMake-4ac72455fd7027039d498f007fdfe7c1d819b9f9.tar.bz2 |
cmTarget: Drop 'head' argument from GetLinkClosure
It is only ever passed the 'this' target itself.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index bcafe2d..e1852a3 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -569,8 +569,7 @@ bool cmComputeLinkInformation::Compute() void cmComputeLinkInformation::AddImplicitLinkInfo() { // The link closure lists all languages whose implicit info is needed. - cmTarget::LinkClosure const* lc=this->Target->GetLinkClosure(this->Config, - this->Target); + cmTarget::LinkClosure const* lc=this->Target->GetLinkClosure(this->Config); for(std::vector<std::string>::const_iterator li = lc->Languages.begin(); li != lc->Languages.end(); ++li) { @@ -1969,7 +1968,7 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs, // present. This is done even when skipping rpath support. { cmTarget::LinkClosure const* lc = - this->Target->GetLinkClosure(this->Config, this->Target); + this->Target->GetLinkClosure(this->Config); for(std::vector<std::string>::const_iterator li = lc->Languages.begin(); li != lc->Languages.end(); ++li) { |