lib/fmt: add meson.build
This commit is contained in:
13
src/lib/fmt/meson.build
Normal file
13
src/lib/fmt/meson.build
Normal file
@@ -0,0 +1,13 @@
|
||||
libfmt = dependency('fmt', version: '>= 7', fallback: ['fmt', 'fmt_dep'])
|
||||
|
||||
if compiler.get_id() == 'clang' and compiler.version().version_compare('<15')
|
||||
libfmt = declare_dependency(
|
||||
dependencies: libfmt,
|
||||
# suppress bogus clang 14 warning (the version in Android NDK r25b)
|
||||
compile_args: ['-Wno-unused-local-typedef'],
|
||||
)
|
||||
endif
|
||||
|
||||
fmt_dep = declare_dependency(
|
||||
dependencies: libfmt,
|
||||
)
|
Reference in New Issue
Block a user