From b2019b60426fa4b90ed4323c6fe706117317a638 Mon Sep 17 00:00:00 2001 From: Lars Froehlich Date: Mon, 16 Jun 2025 09:12:41 +0200 Subject: [PATCH] Meson: Add fallback for catch2 dependency For historic Meson versions, we need to add an explicit fallback tag to the dependency. Catch2 is available in the needed form since version 3.4.1, not 3.4.0. Signed-off-by: Lars Froehlich --- tests/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 49bf604..f59a171 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -12,7 +12,8 @@ test('all', executable(meson.project_name() + '_test', test_src, dependencies : [ - dependency('catch2', version : '>=3.4.0'), + dependency('catch2', version : '>=3.4.1', + fallback : [ 'catch2', 'catch2_dep' ]), libgit4cpp_dep, ], ),