summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 8aee6e4..1746327 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -99,7 +99,11 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args)
}
std::string helpString = "Where can ";
- if (names.size() == 1)
+ if (names.size() == 0)
+ {
+ helpString += "the (unknown) library be found";
+ }
+ else if (names.size() == 1)
{
helpString += "the " + names[0] + " library be found";
}