summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-28 15:03:11 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-28 15:03:11 (GMT)
commit0fa1bd2f71ea6f5474709729966b9df8a9a05e99 (patch)
tree49518cf8ea82f7d12c8ff52d74acad581549e2d2 /Source/cmMakefileExecutableTargetGenerator.cxx
parent14d50b086f212753756d9adef1da2bcb96c3b4a5 (diff)
downloadCMake-0fa1bd2f71ea6f5474709729966b9df8a9a05e99.zip
CMake-0fa1bd2f71ea6f5474709729966b9df8a9a05e99.tar.gz
CMake-0fa1bd2f71ea6f5474709729966b9df8a9a05e99.tar.bz2
COMP: Fix build on mac after change to GetSourceFiles signature.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index ccb13e9..94f1bdf 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/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 )