minor fix to allow if with no arguments
This commit is contained in:
parent
d5296aa85a
commit
2cf6730def
|
@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid,
|
|||
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
isValid = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue