meson: set the C++ standard to C++11

Matching the CMake as closely as possible, as Meson doesn't have C++11
feature checks like CMAke does.
This commit is contained in:
Dylan Baker 2024-09-09 10:13:59 -07:00
parent 3aa3082df5
commit a29af9c381

View File

@ -3,6 +3,7 @@ project('nlohmann_json',
version : '3.11.3', version : '3.11.3',
license : 'MIT', license : 'MIT',
meson_version : '>= 0.64', meson_version : '>= 0.64',
default_options: ['cpp_std=c++11'],
) )
nlohmann_json_dep = declare_dependency( nlohmann_json_dep = declare_dependency(