modified to accept no arguments
This commit is contained in:
parent
8dfb3d3454
commit
4823f16ebb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue