diff options
author | Brad King <brad.king@kitware.com> | 2007-12-19 16:06:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-19 16:06:47 (GMT) |
commit | 07db9b83a797fe871163a19c09199f6ca4bbe90f (patch) | |
tree | 1da8c02c829699489fc50dc99573d9bbbe8f2c2e /Source/cmFindBase.cxx | |
parent | d1fdc38c68366090779ce743a7a2d40fa8d6200b (diff) | |
download | CMake-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.cxx | 8 |
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); |