mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
BUG: Fixed check of number of arguments.
This commit is contained in:
parent
78803c01ea
commit
bfd79e99e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user