summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-11-13 19:45:40 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-11-13 19:45:40 (GMT)
commita293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (patch)
treea4e4b52d11e6a5d399aaffc5f1273bac53191809 /Source/cmAddCustomTargetCommand.cxx
parent070fa61ff4fba9d154d35d2d7e33ee3d8fc0eed2 (diff)
downloadCMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.zip
CMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.tar.gz
CMake-a293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17.tar.bz2
fixed argument parsing
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r--Source/cmAddCustomTargetCommand.cxx2
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;