modified to accept no arguments

This commit is contained in:
Ken Martin 2002-07-20 08:55:55 -04:00
parent 8dfb3d3454
commit 4823f16ebb
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@
// cmAddDefinitionsCommand
bool cmAddDefinitionsCommand::InitialPass(std::vector<std::string> const& argsIn)
{
// it is OK to have no arguments
if(argsIn.size() < 1 )
{
this->SetError("called with incorrect number of arguments");
return false;
return true;
}
std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args);