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})
189
189
set (CMAKE_REQUIRED_INCLUDES ${MPI_Fortran_INCLUDE_PATH} )
190
190
set (OLD_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} )
191
191
set (CMAKE_REQUIRED_LIBRARIES ${MPI_Fortran_LIBRARIES} )
192
- include (CheckCSourceCompiles )
192
+ include (CheckFortranSourceCompiles )
193
193
CHECK_Fortran_SOURCE_COMPILES ("
194
194
program mpi_hello
195
195
use mpi
@@ -221,7 +221,7 @@ set(OLD_INCLUDES ${CMAKE_REQUIRED_INCLUDES})
221
221
set (CMAKE_REQUIRED_INCLUDES ${MPI_Fortran_INCLUDE_PATH} )
222
222
set (OLD_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} )
223
223
set (CMAKE_REQUIRED_LIBRARIES ${MPI_Fortran_LIBRARIES} )
224
- include (CheckCSourceCompiles )
224
+ include (CheckFortranSourceCompiles )
225
225
CHECK_Fortran_SOURCE_COMPILES ("
226
226
program mpi_hello
227
227
implicit none
You can’t perform that action at this time.
0 commit comments