summaryrefslogtreecommitdiffstats
path: root/Source/cmFindCommon.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-11 13:20:37 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-11 13:20:37 (GMT)
commit7638c6ea8de9029ac0dd1743a55a9e211fa53744 (patch)
tree7a64e21b61ab8ca4582edcfd166db7dd29e1513c /Source/cmFindCommon.cxx
parent6fba4ec0f55ffec4ee6939b3eca0eac47ca4a02f (diff)
parent80b905f8826cc8c281bdc9bfd600e22dcc759dbc (diff)
downloadCMake-7638c6ea8de9029ac0dd1743a55a9e211fa53744.zip
CMake-7638c6ea8de9029ac0dd1743a55a9e211fa53744.tar.gz
CMake-7638c6ea8de9029ac0dd1743a55a9e211fa53744.tar.bz2
Merge branch 'find_package-root-prefix-path-suffixes' into release-3.9
Diffstat (limited to 'Source/cmFindCommon.cxx')
-rw-r--r--Source/cmFindCommon.cxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx
index 103e692..fd0e317 100644
--- a/Source/cmFindCommon.cxx
+++ b/Source/cmFindCommon.cxx
@@ -11,7 +11,7 @@
cmFindCommon::PathGroup cmFindCommon::PathGroup::All("ALL");
cmFindCommon::PathLabel cmFindCommon::PathLabel::PackageRoot(
- "PacakgeName_ROOT");
+ "PackageName_ROOT");
cmFindCommon::PathLabel cmFindCommon::PathLabel::CMake("CMAKE");
cmFindCommon::PathLabel cmFindCommon::PathLabel::CMakeEnvironment(
"CMAKE_ENVIRONMENT");
@@ -231,18 +231,6 @@ void cmFindCommon::RerootPaths(std::vector<std::string>& paths)
}
}
-void cmFindCommon::FilterPaths(const std::vector<std::string>& inPaths,
- const std::set<std::string>& ignore,
- std::vector<std::string>& outPaths)
-{
- for (std::vector<std::string>::const_iterator i = inPaths.begin();
- i != inPaths.end(); ++i) {
- if (ignore.count(*i) == 0) {
- outPaths.push_back(*i);
- }
- }
-}
-
void cmFindCommon::GetIgnoredPaths(std::vector<std::string>& ignore)
{
// null-terminated list of paths.