From 7c2448227a747ae0d45a2aedd95b83e907256fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 19 Nov 2013 12:10:58 +0100 Subject: [PATCH] [libkwineffects] Improving linking of kwinglutils library Only needs: * Qt5::DBus for the communication with color correction * Qt5::X11Extras for access to XCB, pulls in needed Qt5::Gui * XCB component XCB for xcb calls in kwinglobals.h --- libkwineffects/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()