allows no arguments

This commit is contained in:
Ken Martin 2002-07-22 10:01:53 -04:00
parent 353050fb4e
commit e8dbdcaf0c
2 changed files with 2 additions and 4 deletions

View File

@ -21,8 +21,7 @@ bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string> const& args
{ {
if(argsIn.size() < 1 ) if(argsIn.size() < 1 )
{ {
this->SetError("called with incorrect number of arguments"); return true;
return false;
} }
std::vector<std::string> args; std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args); cmSystemTools::ExpandListArguments(argsIn, args);

View File

@ -21,8 +21,7 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
{ {
if(argsIn.size() < 1 ) if(argsIn.size() < 1 )
{ {
this->SetError("called with incorrect number of arguments"); return true;
return false;
} }
std::vector<std::string> args; std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args); cmSystemTools::ExpandListArguments(argsIn, args);