mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 02:20:30 +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>
This commit is contained in:
parent
69fe6f37cd
commit
ea9db278f3
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