aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/templates/cudatemplates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/templates/cudatemplates.py b/mesonbuild/templates/cudatemplates.py
index f645974..2321011 100644
--- a/mesonbuild/templates/cudatemplates.py
+++ b/mesonbuild/templates/cudatemplates.py
@@ -29,7 +29,7 @@ int main(int argc, char **argv) {{
}}
'''
-hello_cuda_meson_template = '''project('{project_name}', 'cpp',
+hello_cuda_meson_template = '''project('{project_name}', ['cuda', 'cpp'],
version : '{version}',
default_options : ['warning_level=3',
'cpp_std=c++14'])
@@ -101,7 +101,7 @@ int main(int argc, char **argv) {{
}}
'''
-lib_cuda_meson_template = '''project('{project_name}', 'cuda',
+lib_cuda_meson_template = '''project('{project_name}', ['cuda', 'cpp'],
version : '{version}',
default_options : ['warning_level=3'])