Commit ae791859 authored by LACHAT Cedric's avatar LACHAT Cedric

Merge branch 'cmakelists-patch-blux' into 'master'

Patch CMakeLists [Benjamin Lux]

See merge request PaMPA/PaMPA-p!1
parents efd0247e 7f8670dd
......@@ -225,7 +225,6 @@ endif ()
# MPI
set(MPI_COMPILER mpicc)
find_package(MPI REQUIRED)
include_directories(${MPI_INCLUDE_PATH})
if (MPI_C_LIBRARIES)
......@@ -233,6 +232,7 @@ if (MPI_C_LIBRARIES)
else ()
list (APPEND PAMPA_DEPENDENCIES ${MPI_LIBRARIES} m)
endif ()
set(MPI_COMPILER ${MPI_C_COMPILER})
if (PAMPA_BUILD_ALONE)
include_directories(${PAMPA_SOURCE_DIR}/include)
......
......@@ -194,6 +194,7 @@ set(PAMPA_C_SOURCES
dmesh_halo.c
dmesh_mat.c
dmesh_overlap.c
dmesh_overlap.h
dmesh_redist.c
dmesh_redist.h
dmesh_save.c
......
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