build: Relax the version constraint for wlroots to accept patch releases

Patch releases only contain backwards compatible changes (mainly bug
fixes) so we want to allow them. This fixes the build with the recently
released wlroots 0.15.1 and uses the same version constraints as other
projects that depend on wlroots (e.g., Sway).
This commit is contained in:
Michael Weiss 2022-02-04 21:17:05 +01:00
parent 888c77c219
commit 21d8bfcf78
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -37,7 +37,7 @@ if git.found()
endif
add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')
wlroots_version = ['=0.15.0']
wlroots_version = ['>=0.15.0', '<0.16.0']
wlroots_proj = subproject(
'wlroots',
default_options: ['default_library=static', 'examples=false'],