BUG: Must return false after an error of incorrect arguments.

This commit is contained in:
Brad King 2002-10-02 17:23:26 -04:00
parent 6c2944b6fe
commit cd8e26f14c
1 changed files with 1 additions and 0 deletions

View File

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