summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-10 15:50:15 -0400
committerBrad King <brad.king@kitware.com>2014-07-10 16:01:04 -0400
commitf45ede61a1e5282f432b169217028c80c12c77a3 (patch)
tree562479827172b29624b0f36cf67183e27571c159 /Source
parent24637979962012ae170f7848ad69e896f8d3f67c (diff)
downloadcmake-f45ede61a1e5282f432b169217028c80c12c77a3.tar.gz
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index aa0ed56adc..a6303e960b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -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;
}