Commit 0b16bebe authored by Andreas Sturmlechner's avatar Andreas Sturmlechner Committed by Christoph Cullmann
Browse files

Move KF5DBusAddons dependency into kate/kwrite



Not used inside lib.

Signed-off-by: default avatarAndreas Sturmlechner <asturm@gentoo.org>
parent 0b8efa7d
Pipeline #220900 passed with stage
in 11 minutes and 11 seconds
# Kate application
find_package(KF5DBusAddons ${KF5_DEP_VERSION} REQUIRED)
add_executable(kate-bin
main.cpp
data/kate.qrc
......@@ -8,7 +11,7 @@ add_executable(kate-bin
# single application handing for the non-dbus case
SingleApplication/singleapplication.cpp
SingleApplication/singleapplication_p.cpp)
target_link_libraries(kate-bin PRIVATE kateprivate)
target_link_libraries(kate-bin PRIVATE kateprivate PUBLIC KF5::DBusAddons)
# ensure right translations domain, we use one kate.po(t) for lib + apps
target_compile_definitions(kate-bin PRIVATE TRANSLATION_DOMAIN="kate")
......
# KWrite application
find_package(KF5DBusAddons ${KF5_DEP_VERSION} REQUIRED)
add_executable(kwrite main.cpp data/kwrite.qrc)
target_link_libraries(kwrite PRIVATE kateprivate)
target_link_libraries(kwrite PRIVATE kateprivate PUBLIC KF5::DBusAddons)
# ensure right translations domain, we use one kate.po(t) for lib + apps
target_compile_definitions(kwrite PRIVATE TRANSLATION_DOMAIN="kate")
......
......@@ -31,7 +31,6 @@ find_package(
REQUIRED
COMPONENTS
Crash
DBusAddons
IconThemes
TextEditor
TextWidgets
......@@ -45,10 +44,10 @@ target_link_libraries(
PUBLIC
KF5::CoreAddons
KF5::Crash
KF5::DBusAddons
KF5::I18n
KF5::IconThemes
KF5::TextEditor
KF5::TextWidgets
KF5::WindowSystem
)
......
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