diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 7baba12abe..cb8134f70f 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -134,6 +134,7 @@ bool cmIfCommand::IsTrue(const std::vector &args, bool &isValid, if(args.size() < 1 ) { + isValid = true; return false; }