From 8bc8832e63d882987a604233a660150728d5cca5 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 23 Sep 2020 11:56:51 +0300 Subject: [PATCH] bos #20031 MEDReader and MPI --- src/Plugins/MEDReader/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Plugins/MEDReader/CMakeLists.txt b/src/Plugins/MEDReader/CMakeLists.txt index 99d2cace..18870254 100644 --- a/src/Plugins/MEDReader/CMakeLists.txt +++ b/src/Plugins/MEDReader/CMakeLists.txt @@ -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() -- 2.39.2