aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-02 11:46:37 +0200
committerKenny Levinsen <kl@kl.wtf>2021-04-02 19:13:17 +0200
commit07a5345aa52ebb4e58736d62b9b21bc7d7eaab54 (patch)
treea866cb7b1993149f2621ac5676a69251340a4b3d /backend
parent7709a965e596f66efabaf6c22967adbac0bbddb2 (diff)
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.
Diffstat (limited to 'backend')
-rw-r--r--backend/session/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/session/meson.build b/backend/session/meson.build
index 29fcf6e4..8b9bd49e 100644
--- a/backend/session/meson.build
+++ b/backend/session/meson.build
@@ -65,7 +65,11 @@ endif
# 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()
wlr_files += files('libseat.c')
wlr_deps += libseat