diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 4c2a821..101ee89 100644 --- a/meson.build +++ b/meson.build @@ -57,6 +57,10 @@ if cc.has_function('libinput_config_accel_create', dependencies: dep_libinput) config_h.set('HAVE_LIBINPUT_CUSTOM_ACCEL', 1) endif +if cc.has_function('libinput_tablet_tool_config_pressure_range_set', + dependencies: dep_libinput) + config_h.set('HAVE_LIBINPUT_PRESSURE_RANGE', 1) +endif dir_headers = get_option('sdkdir') if dir_headers == '' |