diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-10-26 13:55:40 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-10-26 13:55:40 (GMT) |
commit | 0398d8ad38c5a00aba7286fd511c15bad55f2987 (patch) | |
tree | 71a2886e9fd9f9ca732d10eae5b7956e621e387a /Source/cmFindProgramCommand.cxx | |
parent | 480b97a8e2f825f31e378025bce666d5bafc45ca (diff) | |
download | CMake-0398d8ad38c5a00aba7286fd511c15bad55f2987.zip CMake-0398d8ad38c5a00aba7286fd511c15bad55f2987.tar.gz CMake-0398d8ad38c5a00aba7286fd511c15bad55f2987.tar.bz2 |
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/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index f1b8135..fb563e2 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -38,6 +38,8 @@ cmFindProgramCommand::cmFindProgramCommand() cmSystemTools::ReplaceString(this->GenericDocumentation, "SEARCH_XXX", "program"); cmSystemTools::ReplaceString(this->GenericDocumentation, + "XXX_SUBDIR", "[s]bin"); + cmSystemTools::ReplaceString(this->GenericDocumentation, "CMAKE_FIND_ROOT_PATH_MODE_XXX", "CMAKE_FIND_ROOT_PATH_MODE_PROGRAM"); } |