mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Disable unneeded wlroots subproject features
This commit is contained in:
parent
5c78e5cd2c
commit
859a884e82
1 changed files with 5 additions and 1 deletions
|
@ -60,7 +60,11 @@ rt = cc.find_library('rt')
|
||||||
git = find_program('git', required: false)
|
git = find_program('git', required: false)
|
||||||
|
|
||||||
# Try first to find wlroots as a subproject, then as a system dependency
|
# 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()
|
if wlroots_proj.found()
|
||||||
wlroots = wlroots_proj.get_variable('wlroots')
|
wlroots = wlroots_proj.get_variable('wlroots')
|
||||||
wlroots_conf = wlroots_proj.get_variable('conf_data')
|
wlroots_conf = wlroots_proj.get_variable('conf_data')
|
||||||
|
|
Loading…
Reference in a new issue