From 6318f1623e2aedcda89e9f1316f46db7aefca932 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 1 Jun 2025 22:36:40 +0200 Subject: [PATCH] Revert removal of build.cpp_std default I thought meson now handled this correctly, but it seems not. --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 98bf607e..0e6dd0a7 100644 --- a/meson.build +++ b/meson.build @@ -6,6 +6,9 @@ project( default_options : [ 'warning_level=3', 'cpp_std=c++2a', + # Even though Meson will complain that this option does not exist, without + # this Meson will not apply the above option to native targets + 'build.cpp_std=c++2a', ], )