meson.build: suppress bogus clang 14 warning on libfmt headers
This commit is contained in:
parent
0c7163b9db
commit
31db04a3ca
|
@ -251,6 +251,14 @@ endif
|
||||||
|
|
||||||
fmt_dep = dependency('fmt', fallback: ['fmt', 'fmt_dep'])
|
fmt_dep = dependency('fmt', fallback: ['fmt', 'fmt_dep'])
|
||||||
|
|
||||||
|
if compiler.get_id() == 'clang' and compiler.version().version_compare('<15')
|
||||||
|
fmt_dep = declare_dependency(
|
||||||
|
dependencies: fmt_dep,
|
||||||
|
# suppress bogus clang 14 warning (the version in Android NDK r25b)
|
||||||
|
compile_args: ['-Wno-unused-local-typedef'],
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
log = static_library(
|
log = static_library(
|
||||||
'log',
|
'log',
|
||||||
'src/Log.cxx',
|
'src/Log.cxx',
|
||||||
|
|
Loading…
Reference in New Issue