mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
BUG: Fixed check of number of arguments.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user