From bfcf312e379deea4ba51784915190f8acd1cc06c Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 2 Sep 2020 14:36:19 +0300 Subject: [PATCH] Drop unused libwayland-cursor dependency KWin doesn't need libwayland-cursor since cb7a9456c09b55de4ca5bfd3452f. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02a8d85693..b898c5a691 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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} )