summaryrefslogtreecommitdiff
path: root/Tests/FindPackageTest/FindLotsOfComponents.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindPackageTest/FindLotsOfComponents.cmake')
-rw-r--r--Tests/FindPackageTest/FindLotsOfComponents.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/FindLotsOfComponents.cmake b/Tests/FindPackageTest/FindLotsOfComponents.cmake
new file mode 100644
index 000000000..9076d86ed
--- /dev/null
+++ b/Tests/FindPackageTest/FindLotsOfComponents.cmake
@@ -0,0 +1,10 @@
+set(LOC_FOO TRUE)
+
+set(LotsOfComponents_AComp_FOUND TRUE)
+set(LotsOfComponents_BComp_FOUND FALSE)
+set(LotsOfComponents_CComp_FOUND TRUE)
+
+include(FindPackageHandleStandardArgs)
+
+find_package_handle_standard_args(LotsOfComponents REQUIRED_VARS LOC_FOO
+ HANDLE_COMPONENTS)