diff options
author | Brad King <brad.king@kitware.com> | 2017-07-11 12:50:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-11 13:11:19 (GMT) |
commit | 80b905f8826cc8c281bdc9bfd600e22dcc759dbc (patch) | |
tree | 1acc50c522f3edbc8a7f3bf800f12239e65bab8d /Source/cmFindBase.cxx | |
parent | 1ae1b880a8e3297daf7f2c02ff2cb07e51bbe4a1 (diff) | |
download | CMake-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.cxx | 2 |
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() |