meson: fail build if libinput < 1.7.0
We need libinput >= 1.7.0 for LIBINPUT_DEVICE_CAP_SWITCH
@@ -45,7 +45,7 @@ egl = dependency('egl')
glesv2 = dependency('glesv2')
drm = dependency('libdrm')
gbm = dependency('gbm', version: '>=17.1.0')
-libinput = dependency('libinput')
+libinput = dependency('libinput', version: '>=1.7.0')
xkbcommon = dependency('xkbcommon')
udev = dependency('libudev')
pixman = dependency('pixman-1')
