build/wayland: do not link to a target in wl_proto

This commit is contained in:
outfoxxed 2025-01-11 23:59:19 -08:00
parent 2c411fce5a
commit 918dd2392d
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
7 changed files with 27 additions and 34 deletions

View file

@ -16,13 +16,11 @@ qs_add_module_deps_light(quickshell-wayland-toplevel-management
install_qml_module(quickshell-wayland-toplevel-management)
wl_proto(quickshell-wayland-toplevel-management
wlr-foreign-toplevel-management-unstable-v1
"${CMAKE_CURRENT_SOURCE_DIR}/wlr-foreign-toplevel-management-unstable-v1.xml"
)
wl_proto(wlp-foreign-toplevel wlr-foreign-toplevel-management-unstable-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(quickshell-wayland-toplevel-management PRIVATE
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
wlp-foreign-toplevel
)
qs_module_pch(quickshell-wayland-toplevel-management SET large)