Skip to content

Commit 2387be0

Browse files
lmsteffanLaurent Steffan
andauthored
Correct bug in compilation of 'test' when using coarrays (#9)
Co-authored-by: Laurent Steffan <laurent.steffan@zaclys.net>
1 parent cc08c0d commit 2387be0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

{{ cookiecutter.project_slug }}/test/meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ testapp_exe = executable(
1212
'testapp',
1313
sources: testapp_sources,
1414
dependencies: testapp_deps,
15+
{% if cookiecutter.__coarray_code == "True" -%}
16+
fortran_args: coarray_compile_flags,
17+
link_args: coarray_link_flags,
18+
{% endif %}
1519
)
1620
test('testapp', testapp_exe)

0 commit comments

Comments
 (0)