diff --git a/KF5PlasmaConfig.cmake.in b/KF5PlasmaConfig.cmake.in --- a/KF5PlasmaConfig.cmake.in +++ b/KF5PlasmaConfig.cmake.in @@ -18,5 +18,6 @@ find_dependency(Qt5Gui "@REQUIRED_QT_VERSION@") find_dependency(KF5Package "@KF5_DEP_VERSION@") find_dependency(KF5Service "@KF5_DEP_VERSION@") +find_dependency(KF5WindowSystem "@KF5_DEP_VERSION@") include("${CMAKE_CURRENT_LIST_DIR}/KF5PlasmaMacros.cmake") diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt --- a/src/plasma/CMakeLists.txt +++ b/src/plasma/CMakeLists.txt @@ -113,6 +113,7 @@ KF5::Service # For kplugininfo.h and kservice.h Qt5::Gui KF5::Package + KF5::WindowSystem #compositingActive PRIVATE Qt5::Sql Qt5::Svg @@ -122,7 +123,6 @@ KF5::I18n KF5::KIOCore #ServiceJob KF5::KIOWidgets #KRun - KF5::WindowSystem #compositingActive KF5::Declarative #runtimePlatform KF5::XmlGui #KActionCollection KF5::GlobalAccel #Applet::setGlobalShortcut