Skip to content

Commit 4a1b68f

Browse files
committed
meson cxx_struct link fortran
1 parent 4a14f0e commit 4a1b68f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ test('Fortran C++ math', fortran_cxx_math, timeout: 5)
1515
fortran_cxx_struct = executable('fortran_cxx_struct',
1616
sources: files('fortran/struct_main.f90'),
1717
include_directories: 'c',
18-
link_with: struct_cxx
18+
link_with: struct_cxx,
19+
link_language: 'fortran'
1920
)
2021
test('Fortran C++ struct', fortran_cxx_struct, timeout: 5)
2122

0 commit comments

Comments
 (0)