summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 11:08:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-01 17:46:19 (GMT)
commitfaec4e611d08ea2f75d2127e3ca3f5e9a427465b (patch)
treeab775b2bf9a9a4517204b700e4add7e41ca726c3 /Source/cmGlobalVisualStudio8Generator.cxx
parent7e3ac12df45fa42b590971accaf1db89b1a0ffb6 (diff)
downloadCMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.zip
CMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.tar.gz
CMake-faec4e611d08ea2f75d2127e3ca3f5e9a427465b.tar.bz2
cmComputeTargetDepends: Change API to use cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index b96a799..f3cf36e 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -441,7 +441,8 @@ bool cmGlobalVisualStudio8Generator::ComputeTargetDepends()
void cmGlobalVisualStudio8Generator::WriteProjectDepends(
std::ostream& fout, const std::string&, const char*, cmTarget const& t)
{
- TargetDependSet const& unordered = this->GetTargetDirectDepends(t);
+ cmGeneratorTarget* gt = this->GetGeneratorTarget(&t);
+ TargetDependSet const& unordered = this->GetTargetDirectDepends(gt);
OrderedTargetDependSet depends(unordered);
for(OrderedTargetDependSet::const_iterator i = depends.begin();
i != depends.end(); ++i)