mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Add libinput-1.14 support
This libinput version adds a new tablet tool type.
This commit is contained in:
parent
58b2584863
commit
94f65e354d
4 changed files with 49 additions and 9 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue