summaryrefslogtreecommitdiff
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-11 08:50:24 -0400
committerBrad King <brad.king@kitware.com>2017-07-11 09:11:19 -0400
commit80b905f8826cc8c281bdc9bfd600e22dcc759dbc (patch)
tree1acc50c522f3edbc8a7f3bf800f12239e65bab8d /Source/cmFindBase.cxx
parent1ae1b880a8e3297daf7f2c02ff2cb07e51bbe4a1 (diff)
downloadcmake-80b905f8826cc8c281bdc9bfd600e22dcc759dbc.tar.gz
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 581c401b0a..e3782080c0 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()