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.

Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Dylan Baker 2024-09-09 10:13:59 -07:00
parent 6fede3b397
commit df7ec728bd

View File

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