FIX: allow ADD_LIBRARY with no source list
This commit is contained in:
parent
7b362bdb1f
commit
e963dcaa8f
|
@ -19,7 +19,7 @@
|
|||
// cmLibraryCommand
|
||||
bool cmAddLibraryCommand::Invoke(std::vector<std::string>& args)
|
||||
{
|
||||
if(args.size() < 2 )
|
||||
if(args.size() < 1 )
|
||||
{
|
||||
this->SetError("called with incorrect number of arguments");
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue