Search all KF5 components as such instead as separate frameworks

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D8873
This commit is contained in:
Aleix Pol 2017-11-17 22:06:55 +01:00
parent 11c9206bf6
commit 228e15e20a

View File

@ -52,25 +52,30 @@ set (REQUIRED_QT_VERSION 5.7.0)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Quick Gui Sql Qml Svg) find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Quick Gui Sql Qml Svg)
find_package(KF5Activities ${KF5_DEP_VERSION} REQUIRED) find_package(KF5 ${KF5_DEP_VERSION} REQUIRED
find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED) COMPONENTS
find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED) Activities
find_package(KF5ConfigWidgets ${KF5_DEP_VERSION} REQUIRED) Archive
find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED) Config
find_package(KF5DBusAddons ${KF5_DEP_VERSION} REQUIRED) ConfigWidgets
find_package(KF5Declarative ${KF5_DEP_VERSION} REQUIRED) CoreAddons
find_package(KF5GlobalAccel ${KF5_DEP_VERSION} REQUIRED) DBusAddons
find_package(KF5GuiAddons ${KF5_DEP_VERSION} REQUIRED) Declarative
find_package(KF5I18n ${KF5_DEP_VERSION} REQUIRED) GlobalAccel
find_package(KF5IconThemes ${KF5_DEP_VERSION} REQUIRED) GuiAddons
find_package(KF5KIO ${KF5_DEP_VERSION} REQUIRED) I18n
find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED) IconThemes
find_package(KF5WindowSystem ${KF5_DEP_VERSION} REQUIRED) KIO
find_package(KF5XmlGui ${KF5_DEP_VERSION} REQUIRED) Service
find_package(KF5Notifications ${KF5_DEP_VERSION} REQUIRED) WindowSystem
find_package(KF5Package ${KF5_DEP_VERSION} REQUIRED) XmlGui
Notifications
Package
OPTIONAL_COMPONENTS
Wayland
DocTools
)
find_package(KF5Wayland ${KF5_DEP_VERSION})
set_package_properties(KF5Wayland PROPERTIES DESCRIPTION "Integration with the Wayland compositor" set_package_properties(KF5Wayland PROPERTIES DESCRIPTION "Integration with the Wayland compositor"
TYPE OPTIONAL TYPE OPTIONAL
) )
@ -78,7 +83,6 @@ if(KF5Wayland_FOUND)
set(HAVE_KWAYLAND 1) set(HAVE_KWAYLAND 1)
endif() endif()
find_package(KF5DocTools ${KF5_DEP_VERSION})
set_package_properties(KF5DocTools PROPERTIES DESCRIPTION "Tools to generate documentation" set_package_properties(KF5DocTools PROPERTIES DESCRIPTION "Tools to generate documentation"
TYPE OPTIONAL TYPE OPTIONAL
) )