kde-workspace/kcrash/kded/CMakeLists.txt
Ivailo Monev f47177f876 generic: adjust to KNotification changes
some notification files, such as the style KCM one, were not even used

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 08:07:58 +03:00

35 lines
734 B
CMake

########### next target ###############
set(kded_kcrash_SRCS
kded_kcrash.cpp
${CMAKE_CURRENT_BINARY_DIR}/org.kde.kcrash.xml
)
qt4_generate_dbus_interface(kded_kcrash.h org.kde.kcrash.xml)
kde4_add_plugin(kded_kcrash ${kded_kcrash_SRCS})
target_link_libraries(kded_kcrash PRIVATE
${QT_QTDBUS_LIBRARY}
KDE4::kdecore
KDE4::kdeui
)
install(
TARGETS kded_kcrash
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES kcrash.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kcrash.xml
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
)
install(
FILES kcrash.notifyrc
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}/notifications
)