Update meson.build error message when enable-wayland enabled (#419)

Let's drop the explicit versions, meson prints a message anyway that 
specifies the version we have vs the one we need.
master
Brendan Le Foll 2023-12-14 01:44:00 +01:00 committed by GitHub
parent 20329baf4d
commit 244128aa79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ if build_tools
wayland_protocols_dep = dependency('wayland-protocols', version: '>=1.12', required: false) wayland_protocols_dep = dependency('wayland-protocols', version: '>=1.12', required: false)
wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true)
if not wayland_client_dep.found() or not wayland_protocols_dep.found() or not wayland_scanner_dep.found() if not wayland_client_dep.found() or not wayland_protocols_dep.found() or not wayland_scanner_dep.found()
error('''The Wayland xkbcli programs require wayland-client >= 1.2.0, wayland-protocols >= 1.7 which were not found. error('''The Wayland xkbcli programs require wayland-client and wayland-protocols which were not found.
You can disable the Wayland xkbcli programs with -Denable-wayland=false.''') You can disable the Wayland xkbcli programs with -Denable-wayland=false.''')
endif endif