Commit 7f8670dd authored by LUX Benjamin's avatar LUX Benjamin

Update CmakeListes.txt to use FindMPI.cmake output.

parent 7640db8c
......@@ -232,7 +232,7 @@ if (MPI_C_LIBRARIES)
else ()
list (APPEND PAMPA_DEPENDENCIES ${MPI_LIBRARIES} m)
endif ()
set(MPI_COMPILER mpicc)
set(MPI_COMPILER ${MPI_C_COMPILER})
if (PAMPA_BUILD_ALONE)
include_directories(${PAMPA_SOURCE_DIR}/include)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment