From 244128aa79a2b3ad0b18f2071e1f30977c7d90fe Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Thu, 14 Dec 2023 01:44:00 +0100 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 25b9ef6..d55ae08 100644 --- a/meson.build +++ b/meson.build @@ -535,7 +535,7 @@ if build_tools wayland_protocols_dep = dependency('wayland-protocols', version: '>=1.12', required: false) 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() - 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.''') endif