]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
bos #20031 MEDReader and MPI
authorvsr <vsr@opencascade.com>
Wed, 23 Sep 2020 08:56:51 +0000 (11:56 +0300)
committervsr <vsr@opencascade.com>
Wed, 23 Sep 2020 08:56:51 +0000 (11:56 +0300)
src/Plugins/MEDReader/CMakeLists.txt

index 99d2cacec6f18d941be5fc7b2e9e1055111cd42d..188702546fc31dd29637750befb3b261ed927cf3 100644 (file)
@@ -22,6 +22,10 @@ project(MEDReader)
 
 find_package(ParaView REQUIRED)
 
+IF(SALOME_USE_MPI)
+  ADD_DEFINITIONS(-DMEDREADER_USE_MPI)
+ENDIF(SALOME_USE_MPI)
+
 option(BUILD_SHARED_LIBS "Build shared libraries" ON)
 enable_testing()