diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-11-01 17:29:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-11-01 17:29:53 (GMT) |
commit | 930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea (patch) | |
tree | 3a3f4330b3cf840f2ce47249607d25ca3935d8cb /CMakeLists.txt | |
parent | 765d96456298aa678c072df9debba7d4be6ffb95 (diff) | |
download | hdf5-930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea.zip hdf5-930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea.tar.gz hdf5-930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea.tar.bz2 |
Convert to use MPI:: for link
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 23452cd..40093c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -623,7 +623,7 @@ INCLUDE_DIRECTORIES (${HDF5_BINARY_DIR} ${HDF5_SRC_DIR} ${CMAKE_RUNTIME_OUTPUT_D set (CMAKE_MODULE_PATH ${HDF_RESOURCES_DIR} ${HDF_RESOURCES_EXT_DIR} ${CMAKE_MODULE_PATH}) option (HDF5_ENABLE_PARALLEL "Enable parallel build (requires MPI)" OFF) if (HDF5_ENABLE_PARALLEL) - include (FindMPI) + find_package(MPI REQUIRED) INCLUDE_DIRECTORIES (${MPI_C_INCLUDE_PATH}) if (MPI_C_FOUND) set (H5_HAVE_PARALLEL 1) |