From 7f8670ddbc4f6e2ee32a89d6a29752495b043b3a Mon Sep 17 00:00:00 2001 From: LUX Benjamin Date: Thu, 22 Mar 2018 16:01:19 +0100 Subject: [PATCH] Update CmakeListes.txt to use FindMPI.cmake output. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38a90d5..0fc98c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- GitLab