diff options
author | Simon Ser <contact@emersion.fr> | 2019-09-23 18:13:44 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-23 11:27:11 -0400 |
commit | 08b3eaf93074daf4e7fa0831a63c46bba55fbbd7 (patch) | |
tree | 43884c40b0dde1ccdfb461e687f268c0ab1fc964 /meson.build | |
parent | view: create container before selecting workspace (diff) | |
download | sway-08b3eaf93074daf4e7fa0831a63c46bba55fbbd7.tar.gz sway-08b3eaf93074daf4e7fa0831a63c46bba55fbbd7.tar.zst sway-08b3eaf93074daf4e7fa0831a63c46bba55fbbd7.zip |
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 (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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') | |||
57 | git = find_program('git', native: true, required: false) | 57 | git = find_program('git', native: true, required: false) |
58 | 58 | ||
59 | # Try first to find wlroots as a subproject, then as a system dependency | 59 | # Try first to find wlroots as a subproject, then as a system dependency |
60 | wlroots_version = '>=0.6' | 60 | wlroots_version = ['>=0.7.0', '<0.8.0'] |
61 | wlroots_proj = subproject( | 61 | wlroots_proj = subproject( |
62 | 'wlroots', | 62 | 'wlroots', |
63 | default_options: ['rootston=false', 'examples=false'], | 63 | default_options: ['rootston=false', 'examples=false'], |