diff options
author | vaxerski <[email protected]> | 2024-05-31 22:07:00 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2024-05-31 22:07:00 +0200 |
commit | a54ab301602e205f273969c093cf494d38ba4a98 (patch) | |
tree | f0ef45c36977002b43974802e2f8e238fe48fb00 | |
parent | df6ebe358b30ee7b49f296e05763e5e4b0edce98 (diff) | |
download | Hyprland-a54ab301602e205f273969c093cf494d38ba4a98.tar.gz Hyprland-a54ab301602e205f273969c093cf494d38ba4a98.zip |
cmake: make xcb-errors required
fixes #6290
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e780ac0..e42a530a 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) |