commit 0bafc55176f97d2c5d991e8e5fb0e11a989b88d2
parent f54077dbca2faf3f0d614377a01a215c82ef075e
Author: Drew DeVault <sir@cmpwn.com>
Date: Sat, 16 Feb 2019 22:57:42 +0100
Merge pull request #3701 from emersion/meson-subproject-disable-unneeded
Disable unneeded wlroots subproject features
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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')