[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
This commit is contained in:
Martin Gräßlin 2013-11-19 12:10:58 +01:00
parent 2b0147f87d
commit 7c2448227a

View file

@ -50,7 +50,7 @@ macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude )
include_directories(${OPENGLES_EGL_INCLUDE_DIR}) include_directories(${OPENGLES_EGL_INCLUDE_DIR})
endif() endif()
add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS}) 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) if(OPENGL_EGL_FOUND)
target_link_libraries(${name} PRIVATE ${OPENGLES_EGL_LIBRARY}) target_link_libraries(${name} PRIVATE ${OPENGLES_EGL_LIBRARY})
endif() endif()