summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-11-13 14:45:40 -0500
committerKen Martin <ken.martin@kitware.com>2003-11-13 14:45:40 -0500
commita293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (patch)
treea4e4b52d11e6a5d399aaffc5f1273bac53191809 /Source
parent070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2 (diff)
downloadcmake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.tar.gz
fixed argument parsing
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddCustomTargetCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx
index 8ab470ce76..fb7af8baf8 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/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;