Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5b5ced3c authored by Laurent Montel's avatar Laurent Montel 😁

Use KF5_DEP_VERSION for ECM too

parent 9e4d6749
......@@ -21,7 +21,11 @@ endif ()
# Extra CMake stuff
include (FeatureSummary)
find_package (ECM 5.17.0 NO_MODULE)
# KDE Frameworks
set (KF5_DEP_VERSION "5.17.0") # handled by release scripts
find_package (ECM ${KF5_DEP_VERSION} 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)
......@@ -44,9 +48,6 @@ find_package (
Widgets
)
# KDE Frameworks
set (KF5_DEP_VERSION "5.17.0") # handled by release scripts
find_package (
KF5 ${KF5_DEP_VERSION} REQUIRED COMPONENTS
Activities
......
Markdown is supported
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