allows no arguments
This commit is contained in:
parent
353050fb4e
commit
e8dbdcaf0c
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user