BUG: Fixed check of number of arguments.

This commit is contained in:
Brad King 2004-04-21 11:36:31 -04:00
parent 78803c01ea
commit bfd79e99e6

View File

@ -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;