9fc7ea4c62
Some find modules call find_package recursively to locate a package configuration file for the package instead of searching for individual pieces. Commit 79e9b755 (Help recursive find_package calls in modules, 2008-10-03) taught find_package to forward the version number and EXACT arguments through the recursive call automatically. Do the same for the component list.
5 lines
168 B
CMake
5 lines
168 B
CMake
# Test config file.
|
|
if(NOT "${RecursiveA_FIND_COMPONENTS}" STREQUAL "A")
|
|
message(FATAL_ERROR "find_package(RecursiveA NO_MODULE) did not forward components")
|
|
endif()
|