summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-12 12:58:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-07-12 12:59:07 (GMT)
commit083a5cad0e7ad238005e2236364590e0eb1fb2dd (patch)
treec759a9be609db9314533671bc1e10917f2b9033d /Tests/RunCMake/find_package/PackageRoot/FindFoo.cmake
parent702083384143c762b6cfcf936f81cc26321a62fd (diff)
parent80b905f8826cc8c281bdc9bfd600e22dcc759dbc (diff)
downloadCMake-083a5cad0e7ad238005e2236364590e0eb1fb2dd.zip
CMake-083a5cad0e7ad238005e2236364590e0eb1fb2dd.tar.gz
CMake-083a5cad0e7ad238005e2236364590e0eb1fb2dd.tar.bz2
Merge topic 'find_package-root-prefix-path-suffixes'
80b905f8 find_*: Honor PATH_SUFFIXES in PackageName_ROOT paths 1ae1b880 cmFindCommon: Drop unused FilterPaths method cca8454e cmFindCommon: Fix typo in PackageName_ROOT path label Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Chuck Atkins <chuck.atkins@kitware.com> Merge-request: !1044
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)