Change to local path

This commit is contained in:
Allen Byrne 2017-11-01 15:16:37 -05:00
parent 21874ce5c2
commit 7222e5f6a3

View File

@ -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")