From a54ab301602e205f273969c093cf494d38ba4a98 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Fri, 31 May 2024 22:07:00 +0200 Subject: [PATCH] cmake: make xcb-errors required fixes #6290 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e780ac0990..e42a530a444 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,12 +192,8 @@ if(NO_XWAYLAND) add_compile_definitions(NO_XWAYLAND) else() message(STATUS "XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...") - pkg_check_modules(xdeps REQUIRED IMPORTED_TARGET xcb xwayland xcb-util xcb-render xcb-xfixes xcb-icccm xcb-composite xcb-res xcb-ewmh) - pkg_check_modules(xcb_errors IMPORTED_TARGET xcb-errors) + pkg_check_modules(xdeps REQUIRED IMPORTED_TARGET xcb xwayland xcb-util xcb-render xcb-xfixes xcb-icccm xcb-composite xcb-res xcb-ewmh xcb-errors) target_link_libraries(Hyprland PkgConfig::xdeps) - if(xcb_errors_FOUND) - target_link_libraries(Hyprland PkgConfig::xcb_errors) - endif() endif() if(NO_SYSTEMD)