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/FindFoo.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/FindFoo.cmake')
-rw-r--r-- | Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake b/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake index cb62390..e160a1d 100644 --- a/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake +++ b/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake @@ -1,5 +1,7 @@ find_file(FOO_TEST_FILE_FOO foo.h) +find_file(FOO_TEST_FILE_ZOT zot.h PATH_SUFFIXES zot) find_path(FOO_TEST_PATH_FOO foo.h) +find_path(FOO_TEST_PATH_ZOT zot.h PATH_SUFFIXES zot) find_program(FOO_TEST_PROG_FOO foo.exe) if ("Bar" IN_LIST Foo_FIND_COMPONENTS) |