summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake')
-rw-r--r--Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake b/Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake
index deffa57..eff4d4f 100644
--- a/Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake
+++ b/Tests/FindPackageTest/lib/RecursiveA/recursivea-config.cmake
@@ -1 +1,4 @@
# Test config file.
+if(NOT "${RecursiveA_FIND_COMPONENTS}" STREQUAL "A")
+ message(FATAL_ERROR "find_package(RecursiveA NO_MODULE) did not forward components")
+endif()