diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2023-01-19 21:36:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 21:36:57 (GMT) |
commit | 6dcb028e84470f3f3d2048469e57cccaab42c71d (patch) | |
tree | 5fb17b6ac61b08fe53024fb33cb78a35b890e440 /config | |
parent | 528bb790a180e036ea880f52813b2c6a69e71499 (diff) | |
download | hdf5-6dcb028e84470f3f3d2048469e57cccaab42c71d.zip hdf5-6dcb028e84470f3f3d2048469e57cccaab42c71d.tar.gz hdf5-6dcb028e84470f3f3d2048469e57cccaab42c71d.tar.bz2 |
CMake: Find MPI in HDF5 CMake config (#2400) (#2410)
Co-authored-by: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/hdf5-config.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/hdf5-config.cmake.in b/config/cmake/hdf5-config.cmake.in index 35cee4f..1a3fb7b 100644 --- a/config/cmake/hdf5-config.cmake.in +++ b/config/cmake/hdf5-config.cmake.in @@ -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) |