diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx index 736d5677c..bc4f1b10d 100644 --- a/Source/cmAddLibraryCommand.cxx +++ b/Source/cmAddLibraryCommand.cxx @@ -19,7 +19,7 @@ // cmLibraryCommand bool cmAddLibraryCommand::Invoke(std::vector& args) { - if(args.size() < 2 ) + if(args.size() < 1 ) { this->SetError("called with incorrect number of arguments"); return false;