diff options
author | Brad King <brad.king@kitware.com> | 2004-04-21 15:36:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-04-21 15:36:31 (GMT) |
commit | bfd79e99e613e132cff002a85fd583735eb40855 (patch) | |
tree | 45ae7b214fae7f0db119bbf3547e95d0c44667f6 /Source/cmAddCustomTargetCommand.cxx | |
parent | 78803c01ea0cc13c38a0c208a9012897ece5f47f (diff) | |
download | CMake-bfd79e99e613e132cff002a85fd583735eb40855.zip CMake-bfd79e99e613e132cff002a85fd583735eb40855.tar.gz CMake-bfd79e99e613e132cff002a85fd583735eb40855.tar.bz2 |
BUG: Fixed check of number of arguments.
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 fb7af8b..04e3b64 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -21,7 +21,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& args) { bool all = false; - if(args.size() < 2 ) + if(args.size() < 1 ) { this->SetError("called with incorrect number of arguments"); return false; |