mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 21:05:40 +02:00
cmake: pull in wlr-layer-shell-unstable-v1 from wlroots git submodule
This commit is contained in:
parent
73c62e9797
commit
578c76326d
3 changed files with 6 additions and 2 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "external/wlroots"]
|
||||
path = external/wlroots
|
||||
url = https://github.com/swaywm/wlroots.git
|
|
@ -51,9 +51,9 @@ target_link_libraries(bar-xcb xcb-stuff ${XCB_LIBRARIES} ${XCB_ERRORS_LIBRARIES}
|
|||
|
||||
add_custom_command(
|
||||
OUTPUT wlr-layer-shell-unstable-v1.c
|
||||
COMMAND wayland-scanner private-code < /home/daniel/AUR/wlroots-git/src/wlroots-git/protocol/wlr-layer-shell-unstable-v1.xml > wlr-layer-shell-unstable-v1.c
|
||||
COMMAND wayland-scanner private-code < ${PROJECT_SOURCE_DIR}/external/wlroots/protocol/wlr-layer-shell-unstable-v1.xml > wlr-layer-shell-unstable-v1.c
|
||||
VERBATIM
|
||||
MAIN_DEPENDENCY /home/daniel/AUR/wlroots-git/src/wlroots-git/protocol/wlr-layer-shell-unstable-v1.xml
|
||||
MAIN_DEPENDENCY ${PROJECT_SOURCE_DIR}/external/wlroots/protocol/wlr-layer-shell-unstable-v1.xml
|
||||
)
|
||||
add_custom_command(
|
||||
OUTPUT wlr-layer-shell-unstable-v1-client.h
|
||||
|
|
1
external/wlroots
vendored
Submodule
1
external/wlroots
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 59d1b6790dd187c2e110e98a2fa17c1fbfee40ca
|
Loading…
Add table
Reference in a new issue