diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-26 20:18:43 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-28 13:28:15 -0500 |
commit | e62299daa45de139b912325eb5800796586e57c7 (patch) | |
tree | 5a1972d97bd65000f8e328667f2a772c8622e9e8 /meson.build | |
parent | Make session optional (diff) | |
download | sway-e62299daa45de139b912325eb5800796586e57c7.tar.gz sway-e62299daa45de139b912325eb5800796586e57c7.tar.zst sway-e62299daa45de139b912325eb5800796586e57c7.zip |
Make libinput backend optional
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 5468064f..20ed8424 100644 --- a/meson.build +++ b/meson.build | |||
@@ -76,11 +76,11 @@ gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf')) | |||
76 | pixman = dependency('pixman-1') | 76 | pixman = dependency('pixman-1') |
77 | glesv2 = wlroots_features['gles2_renderer'] ? dependency('glesv2') : null_dep | 77 | glesv2 = wlroots_features['gles2_renderer'] ? dependency('glesv2') : null_dep |
78 | libevdev = dependency('libevdev') | 78 | libevdev = dependency('libevdev') |
79 | libinput = dependency('libinput', version: '>=1.21.0') | 79 | libinput = wlroots_features['libinput_backend'] ? dependency('libinput', version: '>=1.21.0') : null_dep |
80 | xcb = dependency('xcb', required: get_option('xwayland')) | 80 | xcb = dependency('xcb', required: get_option('xwayland')) |
81 | drm_full = dependency('libdrm') # only needed for drm_fourcc.h | 81 | drm_full = dependency('libdrm') # only needed for drm_fourcc.h |
82 | drm = drm_full.partial_dependency(compile_args: true, includes: true) | 82 | drm = drm_full.partial_dependency(compile_args: true, includes: true) |
83 | libudev = dependency('libudev') | 83 | libudev = wlroots_features['libinput_backend'] ? dependency('libudev') : null_dep |
84 | bash_comp = dependency('bash-completion', required: false) | 84 | bash_comp = dependency('bash-completion', required: false) |
85 | fish_comp = dependency('fish', required: false) | 85 | fish_comp = dependency('fish', required: false) |
86 | math = cc.find_library('m') | 86 | math = cc.find_library('m') |