From a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 13 Nov 2003 14:45:40 -0500 Subject: fixed argument parsing --- Source/cmAddCustomTargetCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx index 8ab470c..fb7af8b 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -40,7 +40,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector const& args) } } std::string command; - if(s != args.end()) + if(s != args.end() && *s != "DEPENDS") { command = *s; ++s; -- cgit v0.12