From 62189271c658b991cc116d9cb2d770b2496ac144 Mon Sep 17 00:00:00 2001 From: Caitlin Ross Date: Mon, 23 Oct 2023 16:12:36 -0500 Subject: [PATCH] MPI::MPI_Fortran should be INTERFACE not PUBLIC --- bindings/Fortran/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/Fortran/CMakeLists.txt b/bindings/Fortran/CMakeLists.txt index 2e0cb2c1b3..1a998bbe95 100644 --- a/bindings/Fortran/CMakeLists.txt +++ b/bindings/Fortran/CMakeLists.txt @@ -103,7 +103,7 @@ if(ADIOS2_HAVE_MPI) PRIVATE adios2_c_mpi adios2_core_mpi - PUBLIC + INTERFACE MPI::MPI_Fortran ) target_compile_definitions(adios2_fortran_mpi PRIVATE "$<$:ADIOS2_HAVE_FORTRAN_SUBMODULES;ADIOS2_HAVE_MPI_F>")