Add libinput-1.14 support

This libinput version adds a new tablet tool type.
This commit is contained in:
Drew DeVault 2019-08-09 10:18:54 +09:00
parent 58b2584863
commit 94f65e354d
4 changed files with 49 additions and 9 deletions

View file

@ -128,6 +128,15 @@ if logind.found()
wlr_deps += logind
endif
if libinput.found()
ver = libinput.version().split('.')
add_project_arguments([
'-DLIBINPUT_MAJOR=' + ver[0],
'-DLIBINPUT_MINOR=' + ver[1],
'-DLIBINPUT_PATCH=' + ver[2],
], language: 'c')
endif
subdir('protocol')
subdir('render')