Commit fa4684da authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Make dependency on KI18n and KTextWidgets explicit

They are already pulled in by KParts, but we better not rely on that
parent 1f45fda6
Pipeline #59903 passed with stage
in 8 minutes and 9 seconds
...@@ -57,6 +57,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test WebEngine W ...@@ -57,6 +57,7 @@ find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test WebEngine W
find_package(Grantlee5 "5.2" CONFIG REQUIRED) find_package(Grantlee5 "5.2" CONFIG REQUIRED)
# Find KF5 package # Find KF5 package
find_package(KF5I18n ${KF5_MIN_VERSION} REQUIRED)
find_package(KF5Crash ${KF5_MIN_VERSION} REQUIRED) find_package(KF5Crash ${KF5_MIN_VERSION} REQUIRED)
find_package(KF5KCMUtils ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5KCMUtils ${KF5_MIN_VERSION} CONFIG REQUIRED)
find_package(KF5NotifyConfig ${KF5_MIN_VERSION} CONFIG REQUIRED) find_package(KF5NotifyConfig ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
...@@ -11,7 +11,7 @@ qt5_add_dbus_interfaces(kontact_akregator_PART_SRCS ${akregator_SOURCE_DIR}/src/ ...@@ -11,7 +11,7 @@ qt5_add_dbus_interfaces(kontact_akregator_PART_SRCS ${akregator_SOURCE_DIR}/src/
add_library(kontact_akregatorplugin MODULE ${kontact_akregator_PART_SRCS}) add_library(kontact_akregatorplugin MODULE ${kontact_akregator_PART_SRCS})
target_link_libraries(kontact_akregatorplugin KF5::KontactInterface) target_link_libraries(kontact_akregatorplugin KF5::I18n KF5::KontactInterface)
kcoreaddons_desktop_to_json(kontact_akregatorplugin akregatorplugin.desktop) kcoreaddons_desktop_to_json(kontact_akregatorplugin akregatorplugin.desktop)
......
...@@ -29,6 +29,7 @@ ecm_add_app_icon(akregator_SRCS ICONS ${ICONS_AKREGATOR_SRCS}) ...@@ -29,6 +29,7 @@ ecm_add_app_icon(akregator_SRCS ICONS ${ICONS_AKREGATOR_SRCS})
add_executable(akregator ${akregator_SRCS}) add_executable(akregator ${akregator_SRCS})
target_link_libraries(akregator target_link_libraries(akregator
KF5::I18n
KF5::Crash KF5::Crash
KF5::Notifications KF5::Notifications
KF5::KontactInterface KF5::KontactInterface
...@@ -124,6 +125,7 @@ endif() ...@@ -124,6 +125,7 @@ endif()
target_link_libraries(akregatorprivate target_link_libraries(akregatorprivate
PRIVATE PRIVATE
KF5::I18n
KF5::Parts KF5::Parts
KF5::Notifications KF5::Notifications
KF5::Libkdepim KF5::Libkdepim
...@@ -217,6 +219,7 @@ generate_export_header(akregatorpart BASE_NAME akregatorpart) ...@@ -217,6 +219,7 @@ generate_export_header(akregatorpart BASE_NAME akregatorpart)
target_link_libraries(akregatorpart target_link_libraries(akregatorpart
akregatorinterfaces akregatorinterfaces
akregatorprivate akregatorprivate
KF5::I18n
KF5::KCMUtils KF5::KCMUtils
KF5::NotifyConfig KF5::NotifyConfig
KF5::Libkdepim KF5::Libkdepim
...@@ -227,6 +230,7 @@ target_link_libraries(akregatorpart ...@@ -227,6 +230,7 @@ target_link_libraries(akregatorpart
KF5::MessageViewer KF5::MessageViewer
KF5::Parts KF5::Parts
KF5::Notifications KF5::Notifications
KF5::TextWidgets
Qt::WebEngineWidgets Qt::WebEngineWidgets
KF5::WebEngineViewer KF5::WebEngineViewer
KF5::KIOGui KF5::KIOGui
......
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