minor fix to allow if with no arguments

This commit is contained in:
Ken Martin 2002-10-07 09:16:31 -04:00
parent d5296aa85a
commit 2cf6730def
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid,
if(args.size() < 1 )
{
isValid = true;
return false;
}