]> git.mdlowis.com Git - proto/labwc.git/commitdiff
build: Relax the version constraint for wlroots to accept patch releases
authorMichael Weiss <dev.primeos@gmail.com>
Fri, 4 Feb 2022 20:17:05 +0000 (21:17 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 4 Feb 2022 21:44:54 +0000 (21:44 +0000)
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).

meson.build

index f950b8ec75b2c71cc7e9fb308230225e58ae99e1..1905dda6a03e305cca11169d999609707e40654b 100644 (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'],