mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
BUG: Must return false after an error of incorrect arguments.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user