From c82378863c73fdbe0576b0bcdc685a22919b7cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 24 Apr 2020 20:32:37 +0200 Subject: [PATCH] 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 --- meson.build | 6 +++--- 1 file 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')