summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-02-24 16:57:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-02-24 16:57:58 (GMT)
commitca8aeefeba8d6285423b701c3a6a36a2ad42fbb5 (patch)
treef0006ba4c7471207f52145ed31dfb798c517699a /config/cmake_ext_mod
parentccee75d3e900ccf6281ac2185c512f6591e567b9 (diff)
downloadhdf5-ca8aeefeba8d6285423b701c3a6a36a2ad42fbb5.zip
hdf5-ca8aeefeba8d6285423b701c3a6a36a2ad42fbb5.tar.gz
hdf5-ca8aeefeba8d6285423b701c3a6a36a2ad42fbb5.tar.bz2
MS keeps changing names
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/FindMPI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/FindMPI.cmake b/config/cmake_ext_mod/FindMPI.cmake
index c8bdb16..f562a64 100644
--- a/config/cmake_ext_mod/FindMPI.cmake
+++ b/config/cmake_ext_mod/FindMPI.cmake
@@ -468,7 +468,7 @@ function (interrogate_mpi_compiler lang try_libs)
set(MPI_HEADER_PATH "MPI_HEADER_PATH-NOTFOUND" CACHE FILEPATH "Cleared" FORCE)
find_path(MPI_HEADER_PATH mpifptr.h
HINTS ${_MPI_BASE_DIR} ${_MPI_PREFIX_PATH}
- PATH_SUFFIXES include include/${MS_MPI_ARCH_DIR} include/${MS_MPI_ARCH_DIR2} Inc Inc/${MS_MPI_ARCH_DIR} Inc/${MS_MPI_ARCH_DIR2})
+ PATH_SUFFIXES include Include include/${MS_MPI_ARCH_DIR} Include/${MS_MPI_ARCH_DIR2} Include/${MS_MPI_ARCH_DIR} include/${MS_MPI_ARCH_DIR2} Inc Inc/${MS_MPI_ARCH_DIR} Inc/${MS_MPI_ARCH_DIR2})
if (MPI_INCLUDE_PATH_WORK AND MPI_HEADER_PATH)
list(APPEND MPI_INCLUDE_PATH_WORK ${MPI_HEADER_PATH})
endif()