COMP: Fix build on VS6.

This commit is contained in:
Brad King 2007-12-24 11:15:45 -05:00
parent fc55596bd5
commit 70f73adccb
1 changed files with 5 additions and 1 deletions

View File

@ -1291,7 +1291,11 @@ void cmGlobalGenerator::FillLocalGeneratorToTargetMap()
// target may still be included if it is a dependency of a
// non-excluded target.
TargetDependSet const& tgtdeps = this->GetTargetDepends(target);
targetSet.insert(tgtdeps.begin(), tgtdeps.end());
for(TargetDependSet::const_iterator ti = tgtdeps.begin();
ti != tgtdeps.end(); ++ti)
{
targetSet.insert(*ti);
}
}
}
}