kde-workspace/soliduiserver/CMakeLists.txt
Ivailo Monev cb97fd9984 soliduiserver: notify about mount and unmount errors as well as safe to remove devices
much like prior to f47177f876 except that
the notification is not done on solid signals but from the KDED module
responsible for mounting and unmounting

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

50 lines
1.1 KiB
CMake

########### next target ###############
set(soliduiserver_helper_srcs
soliduiserver_helper.cpp
)
add_executable(soliduiserver_helper ${soliduiserver_helper_srcs})
target_link_libraries(soliduiserver_helper PUBLIC KDE4::kdecore)
########### next target ###############
set(kded_soliduiserver_SRCS
soliduiserver.cpp
deviceactionsdialog.cpp
deviceaction.cpp
devicenothingaction.cpp
deviceserviceaction.cpp
deviceactionsdialogview.ui
)
kde4_add_plugin(kded_soliduiserver ${kded_soliduiserver_SRCS})
target_link_libraries(kded_soliduiserver
KDE4::solid
KDE4::kio
)
########### install files ###############
install(
TARGETS kded_soliduiserver
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES soliduiserver.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded
)
install(
FILES soliduiserver.notifyrc
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}/notifications
)
install(
TARGETS soliduiserver_helper
DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR}
)
kde4_install_auth_helper_files(soliduiserver_helper org.kde.soliduiserver.mountunmounthelper)