From e963dcaa8f37fac0fc450dfa1707266469f57998 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 16 Apr 2001 10:15:05 -0400 Subject: [PATCH] FIX: allow ADD_LIBRARY with no source list --- Source/cmAddLibraryCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;