From 33c89b6b76f0d2ea25746ee2cbfa682e138f9ced Mon Sep 17 00:00:00 2001 From: Greg V Date: Wed, 6 Jan 2021 14:43:14 +0300 Subject: [PATCH] build-sys: meson: only warn about lack of udev on Linux Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a910578ca..f67f8752f 100644 --- a/meson.build +++ b/meson.build @@ -938,7 +938,7 @@ if host_machine.system() != 'windows' ] warning('\n' + '\n'.join(message)) endif - if not udev_dep.found() + if host_machine.system() == 'linux' and not udev_dep.found() message = [ 'You do not have udev support enabled. It is strongly recommended', 'that you enable udev support if your platform supports it as it is',