mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
build: add subproject fallback for libseat
This allows libseat to be compiled as a Meson subproject when it's not installed system-wide. This can ease development and compilation on distributions where libseat isn't packaged.
This commit is contained in:
parent
7709a965e5
commit
07a5345aa5
1 changed files with 5 additions and 1 deletions
|
@ -65,7 +65,11 @@ endif
|
||||||
|
|
||||||
# libseat
|
# libseat
|
||||||
|
|
||||||
libseat = dependency('libseat', required: get_option('libseat'), version: '>=0.2.0')
|
libseat = dependency('libseat',
|
||||||
|
required: get_option('libseat'),
|
||||||
|
version: '>=0.2.0',
|
||||||
|
fallback: ['seatd', 'libseat'],
|
||||||
|
)
|
||||||
if libseat.found()
|
if libseat.found()
|
||||||
wlr_files += files('libseat.c')
|
wlr_files += files('libseat.c')
|
||||||
wlr_deps += libseat
|
wlr_deps += libseat
|
||||||
|
|
Loading…
Reference in a new issue