From 0fa1bd2f71ea6f5474709729966b9df8a9a05e99 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 May 2007 11:03:11 -0400 Subject: COMP: Fix build on mac after change to GetSourceFiles signature. --- Source/cmMakefileExecutableTargetGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::iterator sourceIt; + std::vector::const_iterator sourceIt; for ( sourceIt = this->Target->GetSourceFiles().begin(); sourceIt != this->Target->GetSourceFiles().end(); ++ sourceIt ) -- cgit v0.12