FIX: allow ADD_LIBRARY with no source list

This commit is contained in:
Jim Miller 2001-04-16 10:15:05 -04:00
parent 7b362bdb1f
commit e963dcaa8f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
// cmLibraryCommand // cmLibraryCommand
bool cmAddLibraryCommand::Invoke(std::vector<std::string>& args) bool cmAddLibraryCommand::Invoke(std::vector<std::string>& args)
{ {
if(args.size() < 2 ) if(args.size() < 1 )
{ {
this->SetError("called with incorrect number of arguments"); this->SetError("called with incorrect number of arguments");
return false; return false;