Commit e963dcaa authored by Jim Miller's avatar Jim Miller
Browse files

FIX: allow ADD_LIBRARY with no source list

parent 7b362bdb
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment