ENH: change find library and find program to look for more than one name

This commit is contained in:
Bill Hoffman
2001-05-09 14:53:32 -04:00
parent 1dc7ae38ea
commit f07ee5b817
13 changed files with 232 additions and 174 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ public:
virtual const char* GetFullDocumentation()
{
return
"FIND_LIBRARY(DEFINE_PATH libraryName path1 path2 path3...)\n"
"If the library is found, then DEFINE_PATH is set to the path where it was found";
"FIND_LIBRARY(DEFINE_PATH libraryName [NAMES] name1 name2 name3 [PATHS path1 path2 path3...])\n"
"If the library is found, then DEFINE_PATH is set to the full path where it was found";
}
cmTypeMacro(cmFindLibraryCommand, cmCommand);