Browse Source

allows no arguments

pull/1/head
Ken Martin 23 years ago
parent
commit
e8dbdcaf0c
  1. 3
      Source/cmIncludeDirectoryCommand.cxx
  2. 3
      Source/cmLinkLibrariesCommand.cxx

3
Source/cmIncludeDirectoryCommand.cxx

@ -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);

3
Source/cmLinkLibrariesCommand.cxx

@ -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);

Loading…
Cancel
Save