[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:
parent
2b0147f87d
commit
7c2448227a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue