cmTarget: Fix CMP0022 OLD breakage from recent refactoring

In commit 7b0834e9 (cmTarget: Refactor internal LinkImplementation map,
2014-06-19) cmTarget::GetLinkImplementationLibrariesInternal was changed
accidentally to pass "this" to ComputeLinkImplementation instead of
"head".  Change it back.
This commit is contained in:
Brad King 2014-07-10 15:50:15 -04:00
parent 2463797996
commit f45ede61a1
1 changed files with 1 additions and 1 deletions

View File

@ -6568,7 +6568,7 @@ cmTarget::GetLinkImplementationLibrariesInternal(const std::string& config,
if(!impl.LibrariesDone)
{
impl.LibrariesDone = true;
this->ComputeLinkImplementation(config, impl, this);
this->ComputeLinkImplementation(config, impl, head);
}
return &impl;
}