From 0687d241a19c130474ca134638534f304b1bc221 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 15 Sep 2021 18:55:39 +0200 Subject: [PATCH] build: simplify have_xwayland check --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8209541..2531e2e 100644 --- a/meson.build +++ b/meson.build @@ -50,7 +50,7 @@ wlroots_dep = dependency( default_options: ['default_library=static', 'examples=false', 'xwayland=enabled', 'backends=libinput', 'renderers=[]'], ) -wlroots_has_xwayland = wlroots_dep.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true' +wlroots_has_xwayland = wlroots_dep.get_variable('have_xwayland') == 'true' if not wlroots_has_xwayland error('Cannot use wlroots built without Xwayland support') endif