summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-12-19 16:06:47 (GMT)
committerBrad King <brad.king@kitware.com>2007-12-19 16:06:47 (GMT)
commit07db9b83a797fe871163a19c09199f6ca4bbe90f (patch)
tree1da8c02c829699489fc50dc99573d9bbbe8f2c2e /Source/cmFindBase.cxx
parentd1fdc38c68366090779ce743a7a2d40fa8d6200b (diff)
downloadCMake-07db9b83a797fe871163a19c09199f6ca4bbe90f.zip
CMake-07db9b83a797fe871163a19c09199f6ca4bbe90f.tar.gz
CMake-07db9b83a797fe871163a19c09199f6ca4bbe90f.tar.bz2
ENH: Renamed CMAKE_FIND_PREFIX_PATH to CMAKE_PREFIX_PATH for brevity and consistency with other find path variable names.
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 16bee54..9881243 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -83,7 +83,7 @@ cmFindBase::cmFindBase()
"1. Search cmake specific environment variables. This "
"can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.\n"
""
- " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_FIND_PREFIX_PATH\n"
+ " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_PREFIX_PATH\n"
" CMAKE_FRAMEWORK_PATH\n"
" CMAKE_APPBUNDLE_PATH\n"
" CMAKE_XXX_PATH\n"
@@ -93,7 +93,7 @@ cmFindBase::cmFindBase()
"-DVAR=value. This can be skipped if NO_CMAKE_PATH "
"is passed.\n"
""
- " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_FIND_PREFIX_PATH\n"
+ " <prefix>/XXX_SUBDIR for each <prefix> in CMAKE_PREFIX_PATH\n"
" CMAKE_FRAMEWORK_PATH\n"
" CMAKE_APPBUNDLE_PATH\n"
" CMAKE_XXX_PATH\n"
@@ -553,7 +553,7 @@ void cmFindBase::AddEnvironmentVariables()
std::vector<std::string> paths;
std::vector<std::string> prefixPaths;
- cmSystemTools::GetPath(prefixPaths, "CMAKE_FIND_PREFIX_PATH");
+ cmSystemTools::GetPath(prefixPaths, "CMAKE_PREFIX_PATH");
this->AddFindPrefix(paths, prefixPaths);
std::string var = "CMAKE_";
@@ -690,7 +690,7 @@ void cmFindBase::AddCMakeVariables()
std::vector<std::string> paths;
if(const char* prefixPath =
- this->Makefile->GetDefinition("CMAKE_FIND_PREFIX_PATH"))
+ this->Makefile->GetDefinition("CMAKE_PREFIX_PATH"))
{
std::vector<std::string> prefixPaths;
cmSystemTools::ExpandListArgument(prefixPath, prefixPaths);