summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-11-01 20:16:37 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-11-01 20:16:37 (GMT)
commit7222e5f6a3efee53f6747bc66072129b11c529fe (patch)
treebcdf5f149cec64579e8d1c07821d3dbec8514e3f /config/cmake_ext_mod
parent21874ce5c201b2be7305599434a156b9fbbcfc89 (diff)
downloadhdf5-7222e5f6a3efee53f6747bc66072129b11c529fe.zip
hdf5-7222e5f6a3efee53f6747bc66072129b11c529fe.tar.gz
hdf5-7222e5f6a3efee53f6747bc66072129b11c529fe.tar.bz2
Change to local path
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 61ab4a4..b67bcae 100644
--- a/config/cmake_ext_mod/FindMPI.cmake
+++ b/config/cmake_ext_mod/FindMPI.cmake
@@ -911,7 +911,7 @@ endmacro()
function(_MPI_try_staged_settings LANG MPI_TEST_FILE_NAME MODE RUN_BINARY)
set(WORK_DIR "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/FindMPI")
- set(SRC_DIR "${CMAKE_ROOT}/Modules/FindMPI")
+ set(SRC_DIR "${CMAKE_CURRENT_LIST_DIR}/Modules/FindMPI")
set(BIN_FILE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/FindMPI/${MPI_TEST_FILE_NAME}_${LANG}.bin")
unset(MPI_TEST_COMPILE_DEFINITIONS)
if("${LANG}" STREQUAL "Fortran")