From 2cf6730def50ea33360ecdaebb098fec4635529e Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 7 Oct 2002 09:16:31 -0400 Subject: [PATCH] minor fix to allow if with no arguments --- Source/cmIfCommand.cxx | 1 + 1 file changed, 1 insertion(+) 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; }