diff options
author | Brad King <brad.king@kitware.com> | 2007-12-24 16:15:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-24 16:15:45 (GMT) |
commit | 70f73adccb8f5d90596833b57fe097a410760068 (patch) | |
tree | 4e02cdc7011cab8fcd9ca103782ca19933fd9241 /Source/cmGlobalGenerator.cxx | |
parent | fc55596bd50b6f072e0399632b258e8d764b5591 (diff) | |
download | CMake-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.cxx | 6 |
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); + } } } } |