aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/minit.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py
index 4459a05..7a115c2 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)