meson: Ensure that abseil is built with c++17 too

subprojects do not inherit $lang_std default values from the project.
This commit is contained in:
Nirbheek Chauhan 2023-05-26 02:14:17 +05:30
parent 55239c4ca2
commit b24229cbbc

View File

@ -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'),