Skip to content

Commit

Permalink
Correct bug in compilation of 'test' when using coarrays (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Steffan <laurent.steffan@zaclys.net>
  • Loading branch information
lmsteffan and Laurent Steffan authored Sep 2, 2024
1 parent cc08c0d commit 2387be0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions {{ cookiecutter.project_slug }}/test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ testapp_exe = executable(
'testapp',
sources: testapp_sources,
dependencies: testapp_deps,
{% if cookiecutter.__coarray_code == "True" -%}
fortran_args: coarray_compile_flags,
link_args: coarray_link_flags,
{% endif %}
)
test('testapp', testapp_exe)

0 comments on commit 2387be0

Please sign in to comment.