summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake
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 /Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake
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 'Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake')
-rw-r--r--Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake2
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)