Commit c617091d authored by Sebastien Barre's avatar Sebastien Barre
Browse files

ENH: support semi-colon format (list of args as string)

parent 32fb77ff
......@@ -85,8 +85,11 @@ ScopeEnded(cmMakefile &mf)
mf.GetCurrentDirectory());
}
bool cmForEachCommand::InitialPass(std::vector<std::string> const& args)
bool cmForEachCommand::InitialPass(std::vector<std::string> const& argsIn)
{
std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args);
if(args.size() < 2 )
{
this->SetError("called with incorrect number of arguments");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment