We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
scivision
Learn more about funding links in repositories.
Report abuse
1 parent 1dfe272 commit 0061b4bCopy full SHA for 0061b4b
src/CMakeLists.txt
@@ -13,6 +13,7 @@ add_test(NAME Fortran_C++_math COMMAND fortran_cxx_math)
13
14
add_executable(fortran_cxx_struct fortran/struct_main.f90)
15
target_link_libraries(fortran_cxx_struct PRIVATE struct_cxx)
16
+set_target_properties(fortran_cxx_struct PROPERTIES LINKER_LANGUAGE Fortran)
17
add_test(NAME Fortran_C++_struct COMMAND fortran_cxx_struct)
18
19
# -- Fortran calling C
0 commit comments