diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-09 11:17:33 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-01-16 14:50:16 +1000 |
commit | 3c7aef4ca7f2b501b3583834f1772644a42ccc14 (patch) | |
tree | b4c00317ae2decd4a9fc3764b3fcb67c0dcacec8 | |
parent | ca17599727149ecdf1d686cf6ed3d462e7cdce46 (diff) | |
download | libinput-3c7aef4ca7f2b501b3583834f1772644a42ccc14.tar.gz |
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 ea9db278f3b062fe46553c741834b237350659a2)
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index d9e3eff7..41017f90 100644 --- a/meson.build +++ b/meson.build @@ -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', |