summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-11 12:50:24 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-11 13:11:19 (GMT)
commit80b905f8826cc8c281bdc9bfd600e22dcc759dbc (patch)
tree1acc50c522f3edbc8a7f3bf800f12239e65bab8d /Source/cmFindBase.cxx
parent1ae1b880a8e3297daf7f2c02ff2cb07e51bbe4a1 (diff)
downloadCMake-80b905f8826cc8c281bdc9bfd600e22dcc759dbc.zip
CMake-80b905f8826cc8c281bdc9bfd600e22dcc759dbc.tar.gz
CMake-80b905f8826cc8c281bdc9bfd600e22dcc759dbc.tar.bz2
find_*: Honor PATH_SUFFIXES in PackageName_ROOT paths
This was accidentally forgotten in commit v3.9.0-rc1~71^2~2 (find_*: Add a new PackageRoot search path group, 2017-05-03). Fixes: #17052
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 581c401..e378208 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -216,6 +216,8 @@ void cmFindBase::FillPackageRootPath()
paths.AddCMakePrefixPath(varName);
paths.AddEnvPrefixPath(varName);
}
+
+ paths.AddSuffixes(this->SearchPathSuffixes);
}
void cmFindBase::FillCMakeVariablePath()