From 66759eea5e90d4af96fd79e2e9017cb2141f5415 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 24 Sep 2012 11:05:10 -0400 Subject: 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. --- Source/cmFindBase.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/cmFindBase.h') 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 Names; + bool NamesPerDir; + bool NamesPerDirAllowed; // CMAKE_*_PATH CMAKE_SYSTEM_*_PATH FRAMEWORK|LIBRARY|INCLUDE|PROGRAM cmStdString EnvironmentPath; // LIB,INCLUDE -- cgit v1.2.1