Browse Source

fixed argument parsing

Ken Martin 22 years ago
parent
commit
a293f8f7a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmAddCustomTargetCommand.cxx

+ 1 - 1
Source/cmAddCustomTargetCommand.cxx

@@ -40,7 +40,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& args)
       }
     }
   std::string command;
-  if(s != args.end())
+  if(s != args.end() && *s != "DEPENDS")
     {
     command = *s;
     ++s;