diff options
author | Ken Martin <ken.martin@kitware.com> | 2003-11-13 19:45:40 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2003-11-13 19:45:40 (GMT) |
commit | a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (patch) | |
tree | a4e4b52d11e6a5d399aaffc5f1273bac53191809 /Source/cmAddCustomTargetCommand.cxx | |
parent | 070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2 (diff) | |
download | CMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.zip CMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.tar.gz CMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.tar.bz2 |
fixed argument parsing
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r-- | Source/cmAddCustomTargetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> const& args) } } std::string command; - if(s != args.end()) + if(s != args.end() && *s != "DEPENDS") { command = *s; ++s; |