diff options
author | emersion <contact@emersion.fr> | 2019-02-16 11:57:41 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-16 11:57:41 +0100 |
commit | 859a884e82601044aa4c825cfbfdd53e2b4ef79c (patch) | |
tree | 9c4ba23bd0c78d3b14a9ad58df23c189e41630b4 /meson.build | |
parent | Merge pull request #3698 from yabirgb/master (diff) | |
download | sway-859a884e82601044aa4c825cfbfdd53e2b4ef79c.tar.gz sway-859a884e82601044aa4c825cfbfdd53e2b4ef79c.tar.zst sway-859a884e82601044aa4c825cfbfdd53e2b4ef79c.zip |
Disable unneeded wlroots subproject features
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
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') | |||
60 | git = find_program('git', required: false) | 60 | git = find_program('git', required: false) |
61 | 61 | ||
62 | # Try first to find wlroots as a subproject, then as a system dependency | 62 | # Try first to find wlroots as a subproject, then as a system dependency |
63 | wlroots_proj = subproject('wlroots', required: false) | 63 | wlroots_proj = subproject( |
64 | 'wlroots', | ||
65 | default_options: ['rootston=disabled', 'examples=disabled'], | ||
66 | required: false, | ||
67 | ) | ||
64 | if wlroots_proj.found() | 68 | if wlroots_proj.found() |
65 | wlroots = wlroots_proj.get_variable('wlroots') | 69 | wlroots = wlroots_proj.get_variable('wlroots') |
66 | wlroots_conf = wlroots_proj.get_variable('conf_data') | 70 | wlroots_conf = wlroots_proj.get_variable('conf_data') |