summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake')
-rw-r--r--Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake b/Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake
new file mode 100644
index 0000000..d7ca054
--- /dev/null
+++ b/Tests/Module/FindDependency/packages/Pack8/Pack8Config.cmake
@@ -0,0 +1,7 @@
+include(CMakeFindDependencyMacro)
+
+find_dependency(Pack7 REQUIRED COMPONENTS Comp1)
+
+add_library(Pack8::Lib INTERFACE IMPORTED)
+set_property(TARGET Pack8::Lib PROPERTY INTERFACE_COMPILE_DEFINITIONS HAVE_PACK8)
+set_property(TARGET Pack8::Lib PROPERTY INTERFACE_LINK_LIBRARIES Pack7::Comp1)