diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-10-26 09:55:40 -0400 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-10-26 09:55:40 -0400 |
commit | 0398d8ad38c5a00aba7286fd511c15bad55f2987 (patch) | |
tree | 71a2886e9fd9f9ca732d10eae5b7956e621e387a /Source/cmFindBase.h | |
parent | 480b97a8e2f825f31e378025bce666d5bafc45ca (diff) | |
download | cmake-0398d8ad38c5a00aba7286fd511c15bad55f2987.tar.gz |
ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.
CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable,
which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM
and FIND_LIBRARY will search in the respective subdirectories
Alex
Diffstat (limited to 'Source/cmFindBase.h')
-rw-r--r-- | Source/cmFindBase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h index 547576d36b..5efbe2ad14 100644 --- a/Source/cmFindBase.h +++ b/Source/cmFindBase.h @@ -53,6 +53,8 @@ protected: void AddFrameWorkPaths(); void AddAppBundlePaths(); void AddEnvironmentVariables(); + void AddFindPrefix(std::vector<std::string>& dest, + const std::vector<std::string>& src); void AddCMakeVariables(); void AddSystemEnvironmentVariables(); void AddCMakeSystemVariables(); |