Skip to content

Commit

Permalink
CMake: Find MPI in HDF5 CMake config (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwryankrattiger authored Jan 18, 2023
1 parent 2c9de7a commit 509fe96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/cmake/hdf5-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ if (${HDF5_PACKAGE_NAME}_ENABLE_PARALLEL)
set (${HDF5_PACKAGE_NAME}_MPI_Fortran_INCLUDE_PATH "@MPI_Fortran_INCLUDE_DIRS@")
set (${HDF5_PACKAGE_NAME}_MPI_Fortran_LIBRARIES "@MPI_Fortran_LIBRARIES@")
endif ()

find_package(MPI QUIET REQUIRED)
endif ()

if (${HDF5_PACKAGE_NAME}_BUILD_JAVA)
Expand Down

0 comments on commit 509fe96

Please sign in to comment.