BUG: Must return false after an error of incorrect arguments.
This commit is contained in:
parent
6c2944b6fe
commit
cd8e26f14c
|
@ -24,6 +24,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
|
|||
{
|
||||
this->SetError("called with wrong number of arguments. "
|
||||
"Include only takes one file.");
|
||||
return false;
|
||||
}
|
||||
bool optional = false;
|
||||
if(args.size() == 2)
|
||||
|
|
Loading…
Reference in New Issue