From b51840cf18198865e9b91f5b249e7e2e9526a604 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 29 Jan 2025 14:19:28 -0800 Subject: compilers: fix the UserStdOption name of the C and C++ compilers --- mesonbuild/compilers/cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 37d82c395..fcc5ddef2 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -175,7 +175,7 @@ class CPPCompiler(CLikeCompiler, Compiler): opts = super().get_options() key = self.form_compileropt_key('std') opts.update({ - key: options.UserStdOption('C++', ALL_STDS), + key: options.UserStdOption('cpp', ALL_STDS), }) return opts -- cgit v1.2.3