summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-11-16 19:45:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-11-16 19:45:53 (GMT)
commite7674ae1f05e78314ab7419bb5577a5bfce41234 (patch)
tree8c1d6f0099ea9222c70a7683c383d6201020c020 /Source/cmGlobalGenerator.cxx
parent836c26673196800ec9e56cf5c29eb9c82e18b03f (diff)
parent1a0c166a266cade3bf07cc4d205dedfe2d570bd0 (diff)
downloadCMake-e7674ae1f05e78314ab7419bb5577a5bfce41234.zip
CMake-e7674ae1f05e78314ab7419bb5577a5bfce41234.tar.gz
CMake-e7674ae1f05e78314ab7419bb5577a5bfce41234.tar.bz2
Merge topic 'vs8-direct-depends'
1a0c166 Store direct dependencies in solutions for VS >= 8
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 0def336..15abd02 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -699,9 +699,8 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
l != targets.end(); l++)
{
cmTarget& target = l->second;
- std::set<cmStdString>::const_iterator pos =
- target.GetUtilities().find(targetIn->GetName());
- if(pos != target.GetUtilities().end())
+ TargetDependSet const& tgtdeps = this->GetTargetDirectDepends(target);
+ if(tgtdeps.count(targetIn))
{
return true;
}