From afa1b6f88b962522769120368dccffb989db5eb1 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 22 Nov 2024 18:57:11 -0800 Subject: [PATCH] wayland/layershell: link to xdg-shell protocol codegen --- src/wayland/wlr_layershell/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland/wlr_layershell/CMakeLists.txt b/src/wayland/wlr_layershell/CMakeLists.txt index 11bedc6a..f22ee0ba 100644 --- a/src/wayland/wlr_layershell/CMakeLists.txt +++ b/src/wayland/wlr_layershell/CMakeLists.txt @@ -16,6 +16,9 @@ install_qml_module(quickshell-wayland-layershell) wl_proto(quickshell-wayland-layershell wlr-layer-shell-unstable-v1 "${CMAKE_CURRENT_SOURCE_DIR}/wlr-layer-shell-unstable-v1.xml") +# link dependency of wlr-layer-shell's codegen +wl_proto(quickshell-wayland-layershell xdg-shell "${WAYLAND_PROTOCOLS}/stable/xdg-shell/xdg-shell.xml") + target_link_libraries(quickshell-wayland-layershell PRIVATE Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client )