summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-02-16 11:57:41 +0100
committerFurkan Sahin <furkan-dev@proton.me>2019-02-16 11:57:41 +0100
commit86fa88e500cf3f5039c9cdd59b97ee57b8177849 (patch)
treefcb135fb870fb0b8f2a0c38c9fe36cc686c4d9c9
parente1f4f039e2cce1871cda5dd9476fdc9c61fe8c50 (diff)
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')