ECMFeatureSummary

Call feature_summary(), except when being called from a subdirectory. This ensures that frameworks being used as submodules by third-party applications do not call feature_summary(), so that it doesn’t end up being called multiple times in the same cmake run.

include(ECMFeatureSummary)
ecm_feature_summary([... see feature_summary documentation ...])

Example:

find_package(ECM REQUIRED)
include(ECMFeatureSummary)
ecm_feature_summary(WHAT ALL   FATAL_ON_MISSING_REQUIRED_PACKAGES)

Since 5.247