meson.build: build fmt in C++20 mode

Enables `char8_t` support which eliminates clang 18's
`-Wdeprecated-declarations` warning about fmt's use of
`std::string_view<unsigned char>`.
This commit is contained in:
Max Kellermann 2024-03-11 15:13:01 +01:00
parent 696a36bd5a
commit c144d0a00d
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ project(
'build.cpp_std=c++2a',
'warning_level=3',
'fmt:cpp_std=c++2a',
# If we build those libraries as Meson subproject, they shall be
# linked statically into the MPD executable.
'curl:default_library=static',