summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio8Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-23 16:26:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-24 07:24:43 (GMT)
commit6cac952b9ed8ad202286ddee7246d9ef7ed8f22d (patch)
tree50a60557bee9ca3bb9179cb14ad3afbfe5df658b /Source/cmGlobalVisualStudio8Generator.cxx
parent97b3768898431ffff824388dc263654a35a33aa2 (diff)
downloadCMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.zip
CMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.tar.gz
CMake-6cac952b9ed8ad202286ddee7246d9ef7ed8f22d.tar.bz2
VS: Port interface to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 9b8b9fd..bdb1b25 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -460,14 +460,15 @@ void cmGlobalVisualStudio8Generator::WriteProjectDepends(
//----------------------------------------------------------------------------
bool cmGlobalVisualStudio8Generator::NeedLinkLibraryDependencies(
- cmTarget& target)
+ cmGeneratorTarget *target)
{
// Look for utility dependencies that magically link.
for(std::set<std::string>::const_iterator ui =
- target.GetUtilities().begin();
- ui != target.GetUtilities().end(); ++ui)
+ target->Target->GetUtilities().begin();
+ ui != target->Target->GetUtilities().end(); ++ui)
{
- if(cmTarget* depTarget = this->FindTarget(ui->c_str()))
+ if(cmGeneratorTarget* depTarget =
+ target->GetLocalGenerator()->FindGeneratorTargetToUse(ui->c_str()))
{
if(depTarget->GetType() != cmState::INTERFACE_LIBRARY
&& depTarget->GetProperty("EXTERNAL_MSPROJECT"))