We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d11a95 commit 91a8d07Copy full SHA for 91a8d07
cmake/mpi.cmake
@@ -17,12 +17,13 @@ message(STATUS "MPI_Fortran_LINK_FLAGS: ${MPI_Fortran_LINK_FLAGS}")
17
18
include(${CMAKE_CURRENT_LIST_DIR}/openmpi.cmake)
19
20
-set(CMAKE_REQUIRED_LIBRARIES MPI::MPI_Fortran)
21
22
if(MPI_Fortran_HAVE_F08_MODULE)
23
return()
24
endif()
25
+set(CMAKE_REQUIRED_LIBRARIES MPI::MPI_Fortran)
26
+
27
# sometimes factory FindMPI.cmake doesn't define this
28
message(CHECK_START "Checking for Fortran MPI-3 binding")
29
check_source_compiles(Fortran
0 commit comments