File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ add_subdirectory(cxx)
55add_subdirectory (fortran)
66
77# -- Fortran calling C++
8- add_executable (fortran_call_cxx fortran/main .f90)
8+ add_executable (fortran_call_cxx fortran/math_main .f90)
99target_link_libraries (fortran_call_cxx PRIVATE math_cxx)
1010# LINKER_LANGUAGE option is necessary for ifort at least
1111set_target_properties (fortran_call_cxx PROPERTIES LINKER_LANGUAGE Fortran)
1212add_test (NAME Fortran_call_C++ COMMAND fortran_call_cxx)
1313
1414# -- Fortran calling C
15- add_executable (fortran_call_c fortran/main .f90)
15+ add_executable (fortran_call_c fortran/math_main .f90)
1616target_link_libraries (fortran_call_c PRIVATE math_c)
1717add_test (NAME Fortran_call_C COMMAND fortran_call_c)
1818
File renamed without changes.
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ subdir('fortran')
66
77# -- Fortran calling C++
88fortran_call_cxx = executable (' fortran_call_cxx' ,
9- sources : files (' fortran/main .f90' ),
9+ sources : files (' fortran/math_main .f90' ),
1010 link_with : math_cxx,
1111 link_language : ' fortran'
1212)
1313test (' Fortran call C++' , fortran_call_cxx, timeout : 5 )
1414
1515# -- Fortran calling C
1616fortran_call_c = executable (' fortran_call_c' ,
17- sources : files (' fortran/main .f90' ),
17+ sources : files (' fortran/math_main .f90' ),
1818 link_with : math_c,
1919 link_language : ' fortran'
2020)
You can’t perform that action at this time.
0 commit comments