diff options
author | Brad King <brad.king@kitware.com> | 2004-04-21 11:36:31 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2004-04-21 11:36:31 -0400 |
commit | bfd79e99e613e132cff002a85fd583735eb40855 (patch) | |
tree | 45ae7b214fae7f0db119bbf3547e95d0c44667f6 /Source/cmAddCustomTargetCommand.cxx | |
parent | 78803c01ea0cc13c38a0c208a9012897ece5f47f (diff) | |
download | cmake-bfd79e99e613e132cff002a85fd583735eb40855.tar.gz |
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 fb7af8baf8..04e3b648e8 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; |