فهرست منبع

minor fix to allow if with no arguments

Ken Martin 23 سال پیش
والد
کامیت
2cf6730def
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Source/cmIfCommand.cxx

+ 1 - 0
Source/cmIfCommand.cxx

@@ -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;
     }
     }