[declarativeimports/core] Drop xcb shape dependency as it's unused
This commit is contained in:
parent
712882ee5c
commit
e95de33465
@ -8,12 +8,6 @@ if(HAVE_X11 AND XCB_XCB_FOUND AND XCB_COMPOSITE_FOUND AND XCB_DAMAGE_FOUND)
|
||||
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)
|
||||
include_directories(${XCB_SHAPE_INCLUDE_DIR})
|
||||
else()
|
||||
add_definitions(-DHAVE_XCB_SHAPE=0)
|
||||
endif()
|
||||
|
||||
configure_file(config-x11.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-x11.h)
|
||||
|
||||
@ -60,9 +54,6 @@ if(HAVE_X11)
|
||||
${XCB_COMPOSITE_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
if(XCB_SHAPE_FOUND)
|
||||
target_link_libraries(corebindingsplugin ${XCB_SHAPE_LIBRARY})
|
||||
endif()
|
||||
|
||||
if(HAVE_GLX)
|
||||
target_link_libraries(corebindingsplugin ${OPENGL_gl_LIBRARY})
|
||||
|
Loading…
x
Reference in New Issue
Block a user