From 7e816d3cb8561e85fa0451ef227f3caa76369c15 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 6 Nov 2013 14:34:26 +0000 Subject: [PATCH] --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4a2f61307..bd6a270046 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -658,6 +658,7 @@ if(ENABLE_MPI) list(APPEND EXTERNAL_INCLUDES ${MPI_INCLUDE_DIR}) list(APPEND EXTERNAL_LIBRARIES ${MPI_LIBRARIES}) include(CMakeForceCompiler) + # Warning: this actually requires cmake >= 2.8.5 cmake_force_c_compiler(${MPI_C_COMPILER} "MPI C Compiler") cmake_force_cxx_compiler(${MPI_CXX_COMPILER} "MPI C++ Compiler") endif(MPI_FOUND) -- GitLab