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 )
{
this->SetError("called with incorrect number of arguments");
return false;
return true;
}
std::vector<std::string> args;
cmSystemTools::ExpandListArguments(argsIn, args);

View File

@ -21,8 +21,7 @@ bool cmLinkLibrariesCommand::InitialPass(std::vector<std::string> const& argsIn)
{
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);