From: adam Date: Fri, 18 Feb 2011 11:47:28 +0000 (+0000) Subject: Add the -DWITHOUT_MPI=1 possibility X-Git-Tag: Start_BR_19998_21191~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f212b2ddca7141019b355afe0f008474131f1c61;p=modules%2Fkernel.git Add the -DWITHOUT_MPI=1 possibility --- 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})