Skip to content

Commit

Permalink
Ensure C language when requiring MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Nov 2, 2024
1 parent 8407b75 commit 395a1ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/cmake/hdf5-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ if (${HDF5_PACKAGE_NAME}_ENABLE_PARALLEL)
set (${HDF5_PACKAGE_NAME}_PARALLEL_FILTERED_WRITES @PARALLEL_FILTERED_WRITES@)
set (${HDF5_PACKAGE_NAME}_LARGE_PARALLEL_IO @LARGE_PARALLEL_IO@)

enable_language(C) # for MPI::MPI_C
find_package(MPI QUIET REQUIRED)
endif ()

Expand Down

0 comments on commit 395a1ba

Please sign in to comment.