Skip to content

Commit

Permalink
MPI::MPI_Fortran should be INTERFACE not PUBLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinross committed Oct 23, 2023
1 parent e53a1bf commit 6218927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/Fortran/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$<$<COMPILE_LANGUAGE:Fortran>:ADIOS2_HAVE_FORTRAN_SUBMODULES;ADIOS2_HAVE_MPI_F>")
Expand Down

0 comments on commit 6218927

Please sign in to comment.