From a29af9c381f3adf0c47e145d094cf875840c9ca0 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 9 Sep 2024 10:13:59 -0700 Subject: [PATCH] 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 09b4e24a5..aff769eb2 100644 --- a/meson.build +++ b/meson.build @@ -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(