Drop unused libwayland-cursor dependency

KWin doesn't need libwayland-cursor since cb7a9456c0.
master
Vlad Zahorodnii 2020-09-02 14:36:19 +03:00
parent f5a75e70dc
commit bfcf312e37
1 changed files with 2 additions and 3 deletions

View File

@ -170,12 +170,12 @@ if (epoxy_HAS_GLX)
endif()
endif()
find_package(Wayland 1.2 REQUIRED COMPONENTS Cursor OPTIONAL_COMPONENTS Egl)
find_package(Wayland 1.2 OPTIONAL_COMPONENTS Egl)
set_package_properties(Wayland PROPERTIES
TYPE REQUIRED
PURPOSE "Required for building KWin with Wayland support"
)
add_feature_info("Wayland::EGL" Wayland_Egl_FOUND "Enable building of Wayland backend and QPA with EGL support.")
add_feature_info("Wayland::EGL" Wayland_Egl_FOUND "Enable building of Wayland backend.")
set(HAVE_WAYLAND_EGL FALSE)
if (Wayland_Egl_FOUND)
set(HAVE_WAYLAND_EGL TRUE)
@ -685,7 +685,6 @@ set(kwin_XCB_LIBS
set(kwin_WAYLAND_LIBS
KF5::WaylandClient
Plasma::KWaylandServer
Wayland::Cursor
XKB::XKB
${CMAKE_THREAD_LIBS_INIT}
)