Skip to content

Commit b6d30a8

Browse files
author
Damian Rouson
committed
Fix typo in top-level CMakeLists.txt.
This edit implements the suggestion in the first comment of CMake issue 16804 posted at https://gitlab.kitware.com/cmake/cmake/issues/16804
1 parent ae0a625 commit b6d30a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ find_package( MPI )
157157

158158
if ( (NOT MPI_C_FOUND) OR (NOT MPI_Fortran_FOUND) OR (NOT MPIEXEC))
159159
find_program (MY_MPI_EXEC NAMES mpirun mpiexec lamexec srun
160-
PATHS "${CMAKE_SOURCE_DIR/prerequisites/installations/mpich/3.1.4}" "${CMAKE_SOURCE_DIR}/prerequisites/installations/mpich/*" ENV PATH
160+
PATHS "${CMAKE_SOURCE_DIR}/prerequisites/installations/mpich/3.1.4" "${CMAKE_SOURCE_DIR}/prerequisites/installations/mpich/*" ENV PATH
161161
HINTS "${FTN_COMPILER_DIR}" "${C_COMPILER_DIR}"
162162
PATH_SUFFIXES bin)
163163
set ( MPI_HOME "${MPI_HOME}" "${MY_MPI_EXEC}" "${MY_MPI_EXEC}/.." )

0 commit comments

Comments
 (0)