mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-23 16:40:42 +01:00
build: override dependency for use as subproject
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>
(cherry picked from commit ea9db278f3)
This commit is contained in:
parent
ca17599727
commit
3c7aef4ca7
1 changed files with 4 additions and 0 deletions
|
|
@ -401,6 +401,10 @@ dep_libinput = declare_dependency(
|
|||
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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue