summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-11-01 17:29:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-11-01 17:29:53 (GMT)
commit930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea (patch)
tree3a3f4330b3cf840f2ce47249607d25ca3935d8cb /CMakeLists.txt
parent765d96456298aa678c072df9debba7d4be6ffb95 (diff)
downloadhdf5-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.txt2
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)