File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ set(OLD_INCLUDES ${CMAKE_REQUIRED_INCLUDES})
189189set (CMAKE_REQUIRED_INCLUDES ${MPI_Fortran_INCLUDE_PATH} )
190190set (OLD_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} )
191191set (CMAKE_REQUIRED_LIBRARIES ${MPI_Fortran_LIBRARIES} )
192- include (CheckCSourceCompiles )
192+ include (CheckFortranSourceCompiles )
193193CHECK_Fortran_SOURCE_COMPILES("
194194program mpi_hello
195195use mpi
@@ -221,7 +221,7 @@ set(OLD_INCLUDES ${CMAKE_REQUIRED_INCLUDES})
221221set (CMAKE_REQUIRED_INCLUDES ${MPI_Fortran_INCLUDE_PATH} )
222222set (OLD_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} )
223223set (CMAKE_REQUIRED_LIBRARIES ${MPI_Fortran_LIBRARIES} )
224- include (CheckCSourceCompiles )
224+ include (CheckFortranSourceCompiles )
225225CHECK_Fortran_SOURCE_COMPILES("
226226program mpi_hello
227227implicit none
You can’t perform that action at this time.
0 commit comments