fixed argument parsing

This commit is contained in:
Ken Martin 2003-11-13 14:45:40 -05:00
parent 070fa61ff4
commit a293f8f7a0
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& args)
}
}
std::string command;
if(s != args.end())
if(s != args.end() && *s != "DEPENDS")
{
command = *s;
++s;