mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
29 lines
728 B
CMake
29 lines
728 B
CMake
add_definitions(-DTRANSLATION_DOMAIN=\"systemmonitor\")
|
|
|
|
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
|
|
|
|
kcoreaddons_add_plugin(ksysguard SOURCES kdedksysguard.cpp INSTALL_NAMESPACE "kf5/kded")
|
|
|
|
target_link_libraries(ksysguard
|
|
KF5::DBusAddons
|
|
KF5::I18n
|
|
KF5::XmlGui
|
|
KF5::GlobalAccel
|
|
)
|
|
|
|
add_executable(systemmonitor ksystemactivitydialog.cpp main.cpp)
|
|
|
|
target_link_libraries(systemmonitor
|
|
KSysGuard::ProcessUi
|
|
KF5::CoreAddons
|
|
KF5::ConfigCore
|
|
KF5::I18n
|
|
KF5::XmlGui
|
|
KF5::GlobalAccel
|
|
KF5::WindowSystem
|
|
PW::KWorkspace
|
|
)
|
|
|
|
install(TARGETS systemmonitor DESTINATION ${KDE_INSTALL_BINDIR})
|
|
install(PROGRAMS org.kde.systemmonitor.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|