[plasmaquick] Drop XCB::COMPOSITE and DAMAGE dependency

Not used
This commit is contained in:
Martin Gräßlin 2015-11-06 10:37:02 +01:00
parent fae8384845
commit de0f7d93a8

View File

@ -1,8 +1,3 @@
if(HAVE_X11 AND XCB_XCB_FOUND AND XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND)
add_definitions(-DHAVE_XCB_COMPOSITE=1)
else()
add_definitions(-DHAVE_XCB_COMPOSITE=0)
endif()
if(HAVE_X11 AND XCB_XCB_FOUND AND XCB_SHAPE_FOUND)
add_definitions(-DHAVE_XCB_SHAPE=1)
else()
@ -55,14 +50,6 @@ if(HAVE_X11)
XCB::XCB
)
if(XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND)
target_link_libraries(KF5PlasmaQuick
PRIVATE
XCB::DAMAGE
XCB::COMPOSITE
)
endif()
if(XCB_SHAPE_FOUND)
target_link_libraries(KF5PlasmaQuick PRIVATE XCB::SHAPE)
endif()