diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 037462401e..2af68ad87d 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -54,7 +54,6 @@ target_link_libraries( testClientMachine Qt5::Widgets KF5::ConfigCore KF5::WindowSystem - KF5::Service XCB::XCB XCB::XFIXES ${X11_X11_LIB} # to make jenkins happy @@ -217,7 +216,6 @@ target_link_libraries(testScreens KF5::ConfigCore KF5::ConfigGui KF5::WindowSystem - KF5::Service ) add_test(kwin_testScreens testScreens) @@ -245,7 +243,6 @@ target_link_libraries( testXRandRScreens KF5::ConfigCore KF5::ConfigGui KF5::WindowSystem - KF5::Service XCB::XCB XCB::RANDR XCB::XFIXES @@ -287,7 +284,6 @@ target_link_libraries(testScreenEdges KF5::I18n KF5::GlobalAccel KF5::WindowSystem - KF5::Service XCB::XCB ) diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt index 1797ed56bf..a9cafae7a7 100644 --- a/libkwineffects/CMakeLists.txt +++ b/libkwineffects/CMakeLists.txt @@ -47,7 +47,7 @@ set(kwineffects_QT_LIBS set(kwineffects_KDE_LIBS KF5::ConfigCore - KF5::Service + KF5::CoreAddons KF5::WindowSystem ) @@ -87,7 +87,7 @@ macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude ) include_directories(${glinclude}) add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS}) generate_export_header(${name} BASE_NAME kwinglutils EXPORT_FILE_NAME kwinglutils_export.h) - target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras XCB::XCB KF5::Service KF5::WindowSystem) + target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras XCB::XCB KF5::CoreAddons KF5::WindowSystem) set_target_properties(${name} PROPERTIES VERSION ${KWINEFFECTS_VERSION_STRING} SOVERSION ${KWINEFFECTS_SOVERSION}