From b24229cbbcf77127af85c347fed2492932926519 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 26 May 2023 02:14:17 +0530 Subject: meson: Ensure that abseil is built with c++17 too subprojects do not inherit $lang_std default values from the project. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 057bcd9..e668e95 100644 --- a/meson.build +++ b/meson.build @@ -55,7 +55,7 @@ have_win = false # if pkg-config is not found, which is really the most reliable way of building # abseil due to strict C++ standard match requirements. absl_dep = [ - dependency('absl_base'), + dependency('absl_base', default_options: ['cpp_std=c++17']), dependency('absl_flags'), dependency('absl_strings'), dependency('absl_synchronization'), -- cgit v1.2.3