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,11 @@ qs_add_module_deps_light(quickshell-hyprland-focus-grab Quickshell)
|
|||
|
||||
install_qml_module(quickshell-hyprland-focus-grab)
|
||||
|
||||
wl_proto(quickshell-hyprland-focus-grab
|
||||
hyprland-focus-grab-v1
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/hyprland-focus-grab-v1.xml"
|
||||
)
|
||||
wl_proto(wlp-hyprland-focus-grab hyprland-focus-grab-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
target_link_libraries(quickshell-hyprland-focus-grab PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
wlp-hyprland-focus-grab
|
||||
)
|
||||
|
||||
qs_module_pch(quickshell-hyprland-focus-grab SET large)
|
||||
|
|
|
|||
|
|
@ -12,14 +12,12 @@ qt_add_qml_module(quickshell-hyprland-global-shortcuts
|
|||
|
||||
install_qml_module(quickshell-hyprland-global-shortcuts)
|
||||
|
||||
wl_proto(quickshell-hyprland-global-shortcuts
|
||||
hyprland-global-shortcuts-v1
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/hyprland-global-shortcuts-v1.xml"
|
||||
)
|
||||
wl_proto(wlp-hyprland-shortcuts hyprland-global-shortcuts-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
target_link_libraries(quickshell-hyprland-global-shortcuts PRIVATE
|
||||
Qt::Qml Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
Qt::Quick # pch
|
||||
wlp-hyprland-shortcuts
|
||||
)
|
||||
|
||||
qs_module_pch(quickshell-hyprland-global-shortcuts)
|
||||
|
|
|
|||
|
|
@ -12,13 +12,11 @@ qt_add_qml_module(quickshell-hyprland-surface-extensions
|
|||
|
||||
install_qml_module(quickshell-hyprland-surface-extensions)
|
||||
|
||||
wl_proto(quickshell-hyprland-surface-extensions
|
||||
hyprland-surface-v1
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/hyprland-surface-v1.xml"
|
||||
)
|
||||
wl_proto(wlp-hyprland-surface hyprland-surface-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
target_link_libraries(quickshell-hyprland-surface-extensions PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
wlp-hyprland-surface
|
||||
)
|
||||
|
||||
qs_module_pch(quickshell-hyprland-surface-extensions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue