Skip to content

Commit

Permalink
Merge pull request swaywm#3701 from emersion/meson-subproject-disable…
Browse files Browse the repository at this point in the history
…-unneeded

Disable unneeded wlroots subproject features
  • Loading branch information
ddevault authored Feb 16, 2019
2 parents f54077d + 859a884 commit 0bafc55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 0bafc55

Please sign in to comment.