aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-16 11:57:41 +0100
committeremersion <contact@emersion.fr>2019-02-16 11:57:41 +0100
commit859a884e82601044aa4c825cfbfdd53e2b4ef79c (patch)
tree9c4ba23bd0c78d3b14a9ad58df23c189e41630b4
parent5c78e5cd2c0347873d24e862bfa677bed619bc94 (diff)
downloadsway-859a884e82601044aa4c825cfbfdd53e2b4ef79c.tar.xz
Disable unneeded wlroots subproject features
-rw-r--r--meson.build6
1 files changed, 5 insertions, 1 deletions
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')