[cmake-commits] king committed cmGlobalGenerator.cxx 1.215 1.216

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Dec 24 11:15:47 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv9493/Source

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
COMP: Fix build on VS6.


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -d -r1.215 -r1.216
--- cmGlobalGenerator.cxx	23 Dec 2007 20:03:42 -0000	1.215
+++ cmGlobalGenerator.cxx	24 Dec 2007 16:15:45 -0000	1.216
@@ -1291,7 +1291,11 @@
         // 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);
+          }
         }
       }
     }



More information about the Cmake-commits mailing list