From fcb95847edb05d900725923697974688ab1121bb Mon Sep 17 00:00:00 2001 From: Jukka Laurila Date: Tue, 27 Feb 2018 20:54:54 +0100 Subject: [PATCH] Fix the C and C++ project template options, they were reversed before. --- mesonbuild/minit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index 4459a057e..7a115c2c2 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -122,8 +122,7 @@ int main(int argc, char **argv) {{ hello_c_meson_template = '''project('{project_name}', 'c', version : '{version}', - default_options : ['warning_level=3', - 'cpp_std=c++14']) + default_options : ['warning_level=3']) exe = executable('{exe_name}', '{source_name}', install : true) @@ -147,7 +146,8 @@ int main(int argc, char **argv) {{ hello_cpp_meson_template = '''project('{project_name}', 'cpp', version : '{version}', - default_options : ['warning_level=3']) + default_options : ['warning_level=3', + 'cpp_std=c++14']) exe = executable('{exe_name}', '{source_name}', install : true)