summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.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/cmLocalVisualStudio7Generator.cxx
parent987e12e2f962b6e9ed9f15f8ff486512911b744e (diff)
downloadCMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.zip
CMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.tar.gz
CMake-4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.tar.bz2
Move GetLinkInformation to cmGeneratorTarget
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 2dfca02..a09ab95 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1079,7 +1079,9 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
targetNameImport, targetNamePDB, configName);
// Compute the link library and directory information.
- cmComputeLinkInformation* pcli = target.GetLinkInformation(configName);
+ cmGeneratorTarget* gt =
+ this->GlobalGenerator->GetGeneratorTarget(&target);
+ cmComputeLinkInformation* pcli = gt->GetLinkInformation(configName);
if(!pcli)
{
return;
@@ -1164,7 +1166,9 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
targetNameImport, targetNamePDB, configName);
// Compute the link library and directory information.
- cmComputeLinkInformation* pcli = target.GetLinkInformation(configName);
+ cmGeneratorTarget* gt =
+ this->GlobalGenerator->GetGeneratorTarget(&target);
+ cmComputeLinkInformation* pcli = gt->GetLinkInformation(configName);
if(!pcli)
{
return;