From 91a8d07ad0d88f84b64e91293d347e9a112cfc4c Mon Sep 17 00:00:00 2001 From: scivision Date: Sat, 30 Dec 2023 18:35:54 -0500 Subject: [PATCH] lint --- cmake/mpi.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/mpi.cmake b/cmake/mpi.cmake index 1eb7c11..cb1ac9a 100644 --- a/cmake/mpi.cmake +++ b/cmake/mpi.cmake @@ -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