From 08b3eaf93074daf4e7fa0831a63c46bba55fbbd7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 23 Sep 2019 18:13:44 +0300 Subject: [PATCH] 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. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6bb472f1..9984ac00 100644 --- 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'],