Skip to content

Commit

Permalink
Replace ${MPI_CXX_LIBRARIES} by MPI::MPI_CXX
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sakashita committed Nov 29, 2024
1 parent fb2f308 commit ff1e7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rokko/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ if(ROKKO_SOURCES)

if(ROKKO_HAVE_MPI)
if(BUILD_Fortran_BINDING)
target_link_libraries(rokko ${MPI_Fortran_LIBRARIES})
target_link_libraries(rokko MPI::MPI_Fortran)
endif(BUILD_Fortran_BINDING)
target_link_libraries(rokko ${MPI_CXX_LIBRARIES})
target_link_libraries(rokko MPI::MPI_CXX)
endif(ROKKO_HAVE_MPI)

if(ROKKO_HAVE_SCALAPACK)
Expand Down

0 comments on commit ff1e7b2

Please sign in to comment.