Commit b33e0fe7 authored by Heiko Becker's avatar Heiko Becker
Browse files

[cmake] Move call to feature_summary to the end

...after all find_package calls and be more verbose in order to
actually display a meaningful feature summary.
parent 60135da3
......@@ -11,7 +11,6 @@ set(KF5_DEP_VERSION "5.24.0") # handled by release scripts
include(FeatureSummary)
find_package(ECM 5.24.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......@@ -81,3 +80,5 @@ install(FILES
COMPONENT Devel
)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment