fix cmake error msg in mpi section

This commit is contained in:
Christian Zimmermann 2024-06-07 16:51:37 +02:00
parent 9b0286929e
commit 4dc9422344

View file

@ -3,7 +3,7 @@ find_package(MPI REQUIRED)
if(MPI_FOUND) if(MPI_FOUND)
include_directories(${MPI_C_INCLUDE_DIRS}) include_directories(${MPI_C_INCLUDE_DIRS})
else() else()
message(FATAL_ERROR "HDF5 not found") message(FATAL_ERROR "MPI not found")
endif() endif()
message(STATUS "mpi lib = ${MPI_C_LIBRARIES}") message(STATUS "mpi lib = ${MPI_C_LIBRARIES}")
set(MPI_LIBS ${MPI_LIBRARIES}) set(MPI_LIBS ${MPI_LIBRARIES})