Browse Source

COMP: Fix build on mac after change to GetSourceFiles signature.

Brad King 18 years ago
parent
commit
0fa1bd2f71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmMakefileExecutableTargetGenerator.cxx

+ 1 - 1
Source/cmMakefileExecutableTargetGenerator.cxx

@@ -139,7 +139,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
       cmSystemTools::Error("could not find Mac OSX bundle template file.");
       }
 
-    std::vector<cmSourceFile*>::iterator sourceIt;
+    std::vector<cmSourceFile*>::const_iterator sourceIt;
     for ( sourceIt = this->Target->GetSourceFiles().begin();
       sourceIt != this->Target->GetSourceFiles().end();
       ++ sourceIt )