Commit 2cf6730d authored by Ken Martin's avatar Ken Martin
Browse files

minor fix to allow if with no arguments

parent d5296aa8
...@@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid, ...@@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args, bool &isValid,
if(args.size() < 1 ) if(args.size() < 1 )
{ {
isValid = true;
return false; return false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment