summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-22 22:49:58 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-26 21:02:13 (GMT)
commitbde277e811fea2532ed32ade6d7f3d6e910bfda0 (patch)
tree735e8e47def68138ce3937784fd31c3a05e94870 /Source/cmComputeLinkInformation.cxx
parentcf69630e510a5c639a93a99b315fcefea9688935 (diff)
downloadCMake-bde277e811fea2532ed32ade6d7f3d6e910bfda0.zip
CMake-bde277e811fea2532ed32ade6d7f3d6e910bfda0.tar.gz
CMake-bde277e811fea2532ed32ade6d7f3d6e910bfda0.tar.bz2
cmGeneratorTarget: Add GetLinkDirectories API.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index a32bb48..50d8324 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -377,9 +377,9 @@ cmComputeLinkInformation
// Add the search path entries requested by the user to path ordering.
this->OrderLinkerSearchPath
- ->AddUserDirectories(this->Target->Target->GetLinkDirectories());
+ ->AddUserDirectories(this->Target->GetLinkDirectories());
this->OrderRuntimeSearchPath
- ->AddUserDirectories(this->Target->Target->GetLinkDirectories());
+ ->AddUserDirectories(this->Target->GetLinkDirectories());
// Set up the implicit link directories.
this->LoadImplicitLinkInfo();
@@ -413,7 +413,7 @@ cmComputeLinkInformation
// Construct a mask to not bother with this behavior for link
// directories already specified by the user.
std::vector<std::string> const& dirs =
- this->Target->Target->GetLinkDirectories();
+ this->Target->GetLinkDirectories();
this->OldLinkDirMask.insert(dirs.begin(), dirs.end());
}