From 859a884e82601044aa4c825cfbfdd53e2b4ef79c Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 16 Feb 2019 11:57:41 +0100 Subject: [PATCH] Disable unneeded wlroots subproject features --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2336a148..cfd77ce7 100644 --- a/meson.build +++ b/meson.build @@ -60,7 +60,11 @@ rt = cc.find_library('rt') git = find_program('git', required: false) # Try first to find wlroots as a subproject, then as a system dependency -wlroots_proj = subproject('wlroots', required: false) +wlroots_proj = subproject( + 'wlroots', + default_options: ['rootston=disabled', 'examples=disabled'], + required: false, +) if wlroots_proj.found() wlroots = wlroots_proj.get_variable('wlroots') wlroots_conf = wlroots_proj.get_variable('conf_data')