diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-05-26 02:14:17 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-05-26 03:17:31 +0530 |
commit | b24229cbbcf77127af85c347fed2492932926519 (patch) | |
tree | 492cf0a9507323f30267f19ca7578d03570a54d9 | |
parent | 55239c4ca21af48c154370a2fa7b07460af5f861 (diff) |
meson: Ensure that abseil is built with c++17 too
subprojects do not inherit $lang_std default values from the project.
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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'), |