summaryrefslogtreecommitdiff
path: root/Source/cmFindBase.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-24 11:05:10 -0400
committerBrad King <brad.king@kitware.com>2012-09-25 17:08:08 -0400
commit66759eea5e90d4af96fd79e2e9017cb2141f5415 (patch)
tree3660641b55e540e5030801888a02a355bd94b323 /Source/cmFindBase.h
parent9cb68b1cd408165d00449c2fed80f2f156d2b80b (diff)
downloadcmake-66759eea5e90d4af96fd79e2e9017cb2141f5415.tar.gz
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/cmFindBase.h')
-rw-r--r--Source/cmFindBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h
index eac1885f3a..84b03300c8 100644
--- a/Source/cmFindBase.h
+++ b/Source/cmFindBase.h
@@ -49,6 +49,8 @@ protected:
cmStdString VariableDocumentation;
cmStdString VariableName;
std::vector<std::string> Names;
+ bool NamesPerDir;
+ bool NamesPerDirAllowed;
// CMAKE_*_PATH CMAKE_SYSTEM_*_PATH FRAMEWORK|LIBRARY|INCLUDE|PROGRAM
cmStdString EnvironmentPath; // LIB,INCLUDE