meson.build: set cpp_std=c++20
Meson supports this since version 0.57.0.
This commit is contained in:
parent
744308bfff
commit
2bc57c38d2
|
@ -6,11 +6,11 @@ project(
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=c11',
|
'c_std=c11',
|
||||||
'build.c_std=c11',
|
'build.c_std=c11',
|
||||||
'cpp_std=c++2a',
|
'cpp_std=c++20',
|
||||||
'build.cpp_std=c++2a',
|
'build.cpp_std=c++20',
|
||||||
'warning_level=3',
|
'warning_level=3',
|
||||||
|
|
||||||
'fmt:cpp_std=c++2a',
|
'fmt:cpp_std=c++20',
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
Loading…
Reference in New Issue