Use find_dependency to find fmt if required. I don't think check_required_components was meant to do that, but rather to validate components (as in find_package(COMPONENTS) keyword), which bustache does not use/have.
The BUSTACHE_USE_FMT must also be exposed to the client users when required, otherwise it will fall back to the standard <format> version.
Use
find_dependency
to find fmt if required. I don't thinkcheck_required_components
was meant to do that, but rather to validate components (as infind_package(COMPONENTS)
keyword), which bustache does not use/have.The
BUSTACHE_USE_FMT
must also be exposed to the client users when required, otherwise it will fall back to the standard<format>
version.