mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Ensure C language when requiring MPI
This commit is contained in:
parent
8407b75a26
commit
395a1ba7ee
@ -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 ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user