diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx index d41549fe6..c668b2003 100644 --- a/Source/cmAddExecutableCommand.cxx +++ b/Source/cmAddExecutableCommand.cxx @@ -27,7 +27,7 @@ bool cmAddExecutableCommand::InitialPass(std::vector const& argsIn) } std::vector args; cmSystemTools::ExpandListArguments(argsIn, args); - std::vector::const_iterator s = args.begin(); + std::vector::iterator s = args.begin(); std::string exename = *s;