Allows e.g. compositors to setup libinput as a subproject. Makes
it easier to ad support for libinput features which haven't been
released yet.
Signed-off-by: Simon Ser <contact@emersion.fr>
link_with : lib_libinput,
dependencies : deps_libinput)
+if meson.version().version_compare('>= 0.54.0')
+ meson.override_dependency('libinput', dep_libinput)
+endif
+
pkgconfig.generate(
filebase : 'libinput',
name : 'Libinput',