meson.build: add "fallback" option to fmt dependency (for older Meson versions)

This commit is contained in:
Max Kellermann 2021-08-05 11:28:12 +02:00
parent 968624035c
commit 4873159872
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ if boost_dep.version() == '1.67'
warning('Your Boost version 1.67 is known to be buggy, and the MPD build will fail. Please upgrade to Boost 1.68 or later.')
endif
fmt_dep = dependency('fmt')
fmt_dep = dependency('fmt', fallback: ['fmt', 'fmt_dep'])
log = static_library(
'log',