aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-24 18:32:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-24 18:32:37 +0000
commitc82378863c73fdbe0576b0bcdc685a22919b7cec (patch)
treeab6c98eb54b95cec985d2d9c7992a1ad0509b86f
parentfcft: fcft_glyph_for_wc() has been renamed to fcft_glyph_rasterize() (diff)
meson: dependency: use fallback without variable name
Now that both tllist and fcft use meson.override_dependency(), we can use the simpler form of fallback in our dependency call(). This requires meson >= 0.53, tllist >= 1.0.1 and fcft >= 2.0.0
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 34ff5552..05128f70 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('foot', 'c',
version: '1.2.3',
license: 'MIT',
- meson_version: '>=0.47.0',
+ meson_version: '>=0.53.0',
default_options: [
'c_std=c11',
'warning_level=1',
@@ -57,8 +57,8 @@ wayland_client = dependency('wayland-client')
wayland_cursor = dependency('wayland-cursor')
xkb = dependency('xkbcommon')
-tllist = dependency('tllist', version: '>=1.0.0', fallback: ['tllist', 'tllist'])
-fcft = dependency('fcft', version: ['>=2.0.0', '<2.1.0'], fallback: ['fcft', 'fcft'])
+tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
+fcft = dependency('fcft', version: ['>=2.0.0', '<2.1.0'], fallback: 'fcft')
wayland_protocols_datadir = wayland_protocols.get_pkgconfig_variable('pkgdatadir')