summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-23 18:26:44 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-24 09:24:30 +0200
commitb13e26e278dcc34243a2b31dfca8e23b01e15b76 (patch)
treef26ee6c4d51f8d42dbefaebbf6031f481b54bba5 /Source/cmGlobalVisualStudio8Generator.cxx
parent8ac8739b2e5df2f36194261f9dcac95107b4b5f7 (diff)
downloadcmake-b13e26e278dcc34243a2b31dfca8e23b01e15b76.tar.gz
VS: Port ProjectDepends to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index a22315c4d6..9b8b9fd017 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -441,9 +441,9 @@ bool cmGlobalVisualStudio8Generator::ComputeTargetDepends()
//----------------------------------------------------------------------------
void cmGlobalVisualStudio8Generator::WriteProjectDepends(
- std::ostream& fout, const std::string&, const char*, cmTarget const& t)
+ std::ostream& fout, const std::string&, const char*,
+ cmGeneratorTarget const* gt)
{
- cmGeneratorTarget* gt = this->GetGeneratorTarget(&t);
TargetDependSet const& unordered = this->GetTargetDirectDepends(gt);
OrderedTargetDependSet depends(unordered, std::string());
for(OrderedTargetDependSet::const_iterator i = depends.begin();