summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-15 21:54:01 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:30:57 (GMT)
commit4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46 (patch)
tree57a48f6e311086bd39520389d700bbb70d4b39d6 /Source/cmLocalVisualStudio6Generator.cxx
parent987e12e2f962b6e9ed9f15f8ff486512911b744e (diff)
downloadCMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.zip
CMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.tar.gz
CMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.tar.bz2
Move GetLinkInformation to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 9f2a863..9a9c5bb 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -1776,8 +1776,10 @@ void cmLocalVisualStudio6Generator
const std::string extraOptions,
std::string& options)
{
+ cmGeneratorTarget* gt =
+ this->GlobalGenerator->GetGeneratorTarget(&target);
// Compute the link information for this configuration.
- cmComputeLinkInformation* pcli = target.GetLinkInformation(configName);
+ cmComputeLinkInformation* pcli = gt->GetLinkInformation(configName);
if(!pcli)
{
return;