summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-24 15:05:10 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-25 21:08:08 (GMT)
commit66759eea5e90d4af96fd79e2e9017cb2141f5415 (patch)
tree3660641b55e540e5030801888a02a355bd94b323 /Source/cmFindLibraryCommand.h
parent9cb68b1cd408165d00449c2fed80f2f156d2b80b (diff)
downloadCMake-66759eea5e90d4af96fd79e2e9017cb2141f5415.zip
CMake-66759eea5e90d4af96fd79e2e9017cb2141f5415.tar.gz
CMake-66759eea5e90d4af96fd79e2e9017cb2141f5415.tar.bz2
find_library: Optionally consider all names in each directory
When more than one value is given to the NAMES option this command by default will consider one name at a time and search every directory for it. Add a NAMES_PER_DIR option to tell this command to consider one directory at a time and search for all names in it.
Diffstat (limited to 'Source/cmFindLibraryCommand.h')
-rw-r--r--Source/cmFindLibraryCommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
index 455348a..cd0fce8 100644
--- a/Source/cmFindLibraryCommand.h
+++ b/Source/cmFindLibraryCommand.h
@@ -70,7 +70,11 @@ protected:
virtual void GenerateDocumentation();
private:
std::string FindNormalLibrary();
+ std::string FindNormalLibraryNamesPerDir();
+ std::string FindNormalLibraryDirsPerName();
std::string FindFrameworkLibrary();
+ std::string FindFrameworkLibraryNamesPerDir();
+ std::string FindFrameworkLibraryDirsPerName();
};