From f45ede61a1e5282f432b169217028c80c12c77a3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 10 Jul 2014 15:50:15 -0400 Subject: 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. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index aa0ed56..a6303e9 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; } -- cgit v0.12