commit 08b3eaf93074daf4e7fa0831a63c46bba55fbbd7
parent ec66bb987aada8521f6dbd72788c18dc16ebc817
Author: Simon Ser <contact@emersion.fr>
Date: Mon, 23 Sep 2019 18:13:44 +0300
build: update wlroots version, be more strict
wlroots versions are incompatible with each other. Often our users struggle
with figuring out that their wlroots version is too old after a new release.
Use a more strict version check to prevent building sway with incompatible
wlroots versions.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
@@ -57,7 +57,7 @@ rt = cc.find_library('rt')
git = find_program('git', native: true, required: false)
# Try first to find wlroots as a subproject, then as a system dependency
-wlroots_version = '>=0.6'
+wlroots_version = ['>=0.7.0', '<0.8.0']
wlroots_proj = subproject(
'wlroots',
default_options: ['rootston=false', 'examples=false'],