Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Dec 30, 2023
1 parent 6d11a95 commit 91a8d07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/mpi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ message(STATUS "MPI_Fortran_LINK_FLAGS: ${MPI_Fortran_LINK_FLAGS}")

include(${CMAKE_CURRENT_LIST_DIR}/openmpi.cmake)

set(CMAKE_REQUIRED_LIBRARIES MPI::MPI_Fortran)

if(MPI_Fortran_HAVE_F08_MODULE)
return()
endif()

set(CMAKE_REQUIRED_LIBRARIES MPI::MPI_Fortran)

# sometimes factory FindMPI.cmake doesn't define this
message(CHECK_START "Checking for Fortran MPI-3 binding")
check_source_compiles(Fortran
Expand Down

0 comments on commit 91a8d07

Please sign in to comment.