From f212b2ddca7141019b355afe0f008474131f1c61 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 18 Feb 2011 11:47:28 +0000 Subject: [PATCH] Add the -DWITHOUT_MPI=1 possibility --- salome_adm/cmake_files/FindMPI.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salome_adm/cmake_files/FindMPI.cmake b/salome_adm/cmake_files/FindMPI.cmake index 29155aab6..50b53bd9f 100644 --- a/salome_adm/cmake_files/FindMPI.cmake +++ b/salome_adm/cmake_files/FindMPI.cmake @@ -24,6 +24,10 @@ MESSAGE(STATUS "Check for MPI ...") # ------ SET(MPI_STATUS 1) +IF(WITHOUT_MPI OR WITH_MPI STREQUAL 0) + SET(MPI_STATUS 0) + MESSAGE(STATUS "mpi disabled from command line.") +ENDIF(WITHOUT_MPI OR WITH_MPI STREQUAL 0) IF(WITH_MPI) SET(MPI_ROOT_USER ${WITH_MPI}) -- 2.39.2