diff options
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 9857049..c14264d 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -33,7 +33,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& argsI std::string arguments; std::vector<std::string>::const_iterator s = args.begin(); ++s; // move past args[0] as it is already to be used - if (args.size() >= 3) + if (args.size() >= 2) { if (args[1] == "ALL") { |