summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-29 19:33:24 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-29 19:33:24 (GMT)
commit29907992277e0145a83368f3e8674b0608d745c5 (patch)
tree50e030e004c4708c240136d633c8bcfabb2f31de /Tests
parent05840793fda17ad261ed58c7dd797237bdea6c44 (diff)
parent18454ea44d6a1fd2dbc613ad9c3fe941639563aa (diff)
downloadCMake-29907992277e0145a83368f3e8674b0608d745c5.zip
CMake-29907992277e0145a83368f3e8674b0608d745c5.tar.gz
CMake-29907992277e0145a83368f3e8674b0608d745c5.tar.bz2
Merge branch 'fix-find-package-mode' into release-3.9
Merge-request: !1208
Diffstat (limited to 'Tests')
-rw-r--r--Tests/FindPackageModeMakefileTest/FindFoo.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
index dc62bac..2eb7b7a 100644
--- a/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
+++ b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
@@ -5,5 +5,7 @@ find_path(FOO_INCLUDE_DIR NAMES foo.h HINTS "@CMAKE_CURRENT_SOURCE_DIR@" )
set(FOO_LIBRARIES ${FOO_LIBRARY})
set(FOO_INCLUDE_DIRS "${FOO_INCLUDE_DIR}" "/some/path/with a space/include" )
+add_library(Foo::Foo INTERFACE IMPORTED)
+
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Foo DEFAULT_MSG FOO_LIBRARY FOO_INCLUDE_DIR )