diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt index 480cd6b9da..e9602f107a 100644 --- a/libkwineffects/CMakeLists.txt +++ b/libkwineffects/CMakeLists.txt @@ -50,7 +50,7 @@ macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude ) include_directories(${OPENGLES_EGL_INCLUDE_DIR}) endif() add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS}) - target_link_libraries(${name} PUBLIC ${kwineffects_QT_LIBS} ${kwineffects_XCB_LIBS} kwineffects) + target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras ${XCB_XCB_LIBRARY}) if(OPENGL_EGL_FOUND) target_link_libraries(${name} PRIVATE ${OPENGLES_EGL_LIBRARY}) endif()