diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ # WARNING PlasmaQuick provides unversioned CMake config find_package(KUserFeedback) find_package(KF5 REQUIRED COMPONENTS PlasmaQuick) -find_package(KSysGuard) +find_package(KSysGuard CONFIG REQUIRED) find_package(KF5 REQUIRED COMPONENTS Package) find_package(KF5Baloo) diff --git a/applets/systemmonitor/systemmonitor/CMakeLists.txt b/applets/systemmonitor/systemmonitor/CMakeLists.txt --- a/applets/systemmonitor/systemmonitor/CMakeLists.txt +++ b/applets/systemmonitor/systemmonitor/CMakeLists.txt @@ -16,9 +16,9 @@ KF5::ConfigCore KF5::ConfigGui KF5::Declarative - KF5::SysGuard - KF5::Sensors - KF5::SensorFaces + KSysGuard::SysGuard + KSysGuard::Sensors + KSysGuard::SensorFaces ) diff --git a/dataengines/devicenotifications/CMakeLists.txt b/dataengines/devicenotifications/CMakeLists.txt --- a/dataengines/devicenotifications/CMakeLists.txt +++ b/dataengines/devicenotifications/CMakeLists.txt @@ -12,7 +12,7 @@ KF5::Plasma KF5::Solid KF5::I18n - KF5::ProcessCore + KSysGuard::ProcessCore ) # todo: add kworkspace once ported kcoreaddons_desktop_to_json(plasma_engine_devicenotifications plasma-dataengine-devicenotifications.desktop) diff --git a/dataengines/systemmonitor/CMakeLists.txt b/dataengines/systemmonitor/CMakeLists.txt --- a/dataengines/systemmonitor/CMakeLists.txt +++ b/dataengines/systemmonitor/CMakeLists.txt @@ -10,7 +10,7 @@ KF5::I18n KF5::Plasma KF5::Service - KF5::SysGuard + KSysGuard::SysGuard ) kcoreaddons_desktop_to_json(plasma_engine_systemmonitor plasma-dataengine-systemmonitor.desktop) diff --git a/runners/kill/CMakeLists.txt b/runners/kill/CMakeLists.txt --- a/runners/kill/CMakeLists.txt +++ b/runners/kill/CMakeLists.txt @@ -26,7 +26,7 @@ KF5::ConfigWidgets KF5::AuthCore KF5::Runner - KF5::ProcessCore + KSysGuard::ProcessCore ) add_dependencies(krunner_kill kcm_krunner_kill) diff --git a/systemmonitor/CMakeLists.txt b/systemmonitor/CMakeLists.txt --- a/systemmonitor/CMakeLists.txt +++ b/systemmonitor/CMakeLists.txt @@ -22,7 +22,7 @@ add_executable(systemmonitor ksystemactivitydialog.cpp main.cpp) target_link_libraries(systemmonitor - KF5::ProcessUi + KSysGuard::ProcessUi KF5::ConfigCore KF5::I18n KF5::XmlGui