forked from quickshell/quickshell
build/wayland: do not link to a target in wl_proto
This commit is contained in:
parent
2c411fce5a
commit
918dd2392d
7 changed files with 27 additions and 34 deletions
|
@ -14,13 +14,14 @@ qs_add_module_deps_light(quickshell-wayland-layershell Quickshell Quickshell.Way
|
|||
|
||||
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")
|
||||
wl_proto(wlp-layer-shell wlr-layer-shell-unstable-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
# link dependency of wlr-layer-shell's codegen
|
||||
wl_proto(quickshell-wayland-layershell xdg-shell "${WAYLAND_PROTOCOLS}/stable/xdg-shell/xdg-shell.xml")
|
||||
wl_proto(wlp-xdg-shell xdg-shell "${WAYLAND_PROTOCOLS}/stable/xdg-shell")
|
||||
|
||||
target_link_libraries(quickshell-wayland-layershell PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
wlp-layer-shell wlp-xdg-shell
|
||||
)
|
||||
|
||||
qs_module_pch(quickshell-wayland-layershell SET large)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue