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 /Tests/RunCMake/find_package/PackageRoot.cmake | |
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 'Tests/RunCMake/find_package/PackageRoot.cmake')
-rw-r--r-- | Tests/RunCMake/find_package/PackageRoot.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/PackageRoot.cmake b/Tests/RunCMake/find_package/PackageRoot.cmake index d9f41f8..421c243 100644 --- a/Tests/RunCMake/find_package/PackageRoot.cmake +++ b/Tests/RunCMake/find_package/PackageRoot.cmake @@ -37,7 +37,9 @@ macro(RunPackageRootTest) message("Foo_ROOT :${Foo_ROOT}") message("ENV{Foo_ROOT} :$ENV{Foo_ROOT}") message("FOO_TEST_FILE_FOO :${FOO_TEST_FILE_FOO}") + message("FOO_TEST_FILE_ZOT :${FOO_TEST_FILE_ZOT}") message("FOO_TEST_PATH_FOO :${FOO_TEST_PATH_FOO}") + message("FOO_TEST_PATH_ZOT :${FOO_TEST_PATH_ZOT}") message("FOO_TEST_PROG_FOO :${FOO_TEST_PROG_FOO}") CleanUpPackageRootTest() message("") @@ -57,8 +59,10 @@ macro(RunPackageRootTest) message("FOO_TEST_PROG_FOO :${FOO_TEST_PROG_FOO}") message("BAR_TEST_FILE_FOO :${BAR_TEST_FILE_FOO}") message("BAR_TEST_FILE_BAR :${BAR_TEST_FILE_BAR}") + message("BAR_TEST_FILE_ZOT :${BAR_TEST_FILE_ZOT}") message("BAR_TEST_PATH_FOO :${BAR_TEST_PATH_FOO}") message("BAR_TEST_PATH_BAR :${BAR_TEST_PATH_BAR}") + message("BAR_TEST_PATH_ZOT :${BAR_TEST_PATH_ZOT}") message("BAR_TEST_PROG_FOO :${BAR_TEST_PROG_FOO}") message("BAR_TEST_PROG_BAR :${BAR_TEST_PROG_BAR}") CleanUpPackageRootTest() |