diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 10:23:19 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:58 (GMT) |
commit | bf2d061ad37088be9ea6f135a980d14c4e76064b (patch) | |
tree | e6fef8ac1bb79be8e127a3572da799b2b70b3eea /Source/cmComputeLinkDepends.cxx | |
parent | 61c02decce0c1b5aa78acd58d987a5d260079ca4 (diff) | |
download | CMake-bf2d061ad37088be9ea6f135a980d14c4e76064b.zip CMake-bf2d061ad37088be9ea6f135a980d14c4e76064b.tar.gz CMake-bf2d061ad37088be9ea6f135a980d14c4e76064b.tar.bz2 |
cmGeneratorTarget: Move FindTargetToLink from cmTarget.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index 4d7b01e..5604c53 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -634,8 +634,9 @@ cmComputeLinkDepends::AddLinkEntries( } //---------------------------------------------------------------------------- -cmTarget const* cmComputeLinkDepends::FindTargetToLink(int depender_index, - const std::string& name) +cmGeneratorTarget const* +cmComputeLinkDepends::FindTargetToLink(int depender_index, + const std::string& name) { // Look for a target in the scope of the depender. cmGeneratorTarget const* from = this->Target; @@ -647,7 +648,7 @@ cmTarget const* cmComputeLinkDepends::FindTargetToLink(int depender_index, from = depender; } } - return from->Target->FindTargetToLink(name); + return from->FindTargetToLink(name); } //---------------------------------------------------------------------------- |