2015-06-04 01:29:22 +01:00
|
|
|
set(UTIL_SRC
|
2015-07-02 14:21:46 +01:00
|
|
|
util/capacity.cpp
|
|
|
|
util/externalcommand.cpp
|
|
|
|
util/globallog.cpp
|
|
|
|
util/helpers.cpp
|
|
|
|
util/htmlreport.cpp
|
|
|
|
util/report.cpp
|
2015-06-04 01:29:22 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
set(UTIL_LIB_HDRS
|
2015-07-02 14:21:46 +01:00
|
|
|
util/libpartitionmanagerexport.h
|
|
|
|
util/capacity.h
|
|
|
|
util/externalcommand.h
|
|
|
|
util/globallog.h
|
|
|
|
util/helpers.h
|
|
|
|
util/htmlreport.h
|
|
|
|
util/report.h
|
2015-06-04 01:29:22 +01:00
|
|
|
)
|
2017-11-07 22:55:28 +00:00
|
|
|
|
2018-03-19 10:33:20 +00:00
|
|
|
qt5_generate_dbus_interface(
|
|
|
|
externalcommand_interface.h
|
|
|
|
org.kde.kpmcore.externalcommand.xml
|
|
|
|
)
|
|
|
|
|
2017-11-07 22:55:28 +00:00
|
|
|
add_executable(kpmcore_externalcommand util/externalcommandhelper.cpp)
|
2018-03-19 10:33:20 +00:00
|
|
|
|
|
|
|
target_link_libraries(kpmcore_externalcommand
|
2018-04-12 22:43:12 +01:00
|
|
|
qca-qt5
|
2018-03-19 10:33:20 +00:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::DBus
|
|
|
|
KF5::Auth
|
|
|
|
KF5::I18n
|
|
|
|
)
|
|
|
|
|
2017-11-07 22:55:28 +00:00
|
|
|
install(TARGETS kpmcore_externalcommand DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|
2018-03-19 10:33:20 +00:00
|
|
|
install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d )
|
2017-11-07 22:55:28 +00:00
|
|
|
|
|
|
|
kauth_install_helper_files(kpmcore_externalcommand org.kde.kpmcore.externalcommand root)
|
|
|
|
kauth_install_actions(org.kde.kpmcore.externalcommand util/org.kde.kpmcore.externalcommand.actions)
|