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:
parent
696a36bd5a
commit
c144d0a00d
|
@ -10,6 +10,8 @@ project(
|
||||||
'build.cpp_std=c++2a',
|
'build.cpp_std=c++2a',
|
||||||
'warning_level=3',
|
'warning_level=3',
|
||||||
|
|
||||||
|
'fmt:cpp_std=c++2a',
|
||||||
|
|
||||||
# If we build those libraries as Meson subproject, they shall be
|
# If we build those libraries as Meson subproject, they shall be
|
||||||
# linked statically into the MPD executable.
|
# linked statically into the MPD executable.
|
||||||
'curl:default_library=static',
|
'curl:default_library=static',
|
||||||
|
|
Loading…
Reference in New Issue