summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-24 16:15:45 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-24 16:15:45 (GMT)
commit70f73adccb8f5d90596833b57fe097a410760068 (patch)
tree4e02cdc7011cab8fcd9ca103782ca19933fd9241 /Source/cmGlobalGenerator.cxx
parentfc55596bd50b6f072e0399632b258e8d764b5591 (diff)
downloadCMake-70f73adccb8f5d90596833b57fe097a410760068.zip
CMake-70f73adccb8f5d90596833b57fe097a410760068.tar.gz
CMake-70f73adccb8f5d90596833b57fe097a410760068.tar.bz2
COMP: Fix build on VS6.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 708bb86..7bd98e6 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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);
+ }
}
}
}