[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.hicc-effect-5.14.5
parent
2b0147f87d
commit
7c2448227a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue