From: bruneton Date: Tue, 23 Jul 2013 12:17:49 +0000 (+0000) Subject: CMake: New macro SALOME_ADD_MPI_TO_HDF5() to overload HDF5 variables X-Git-Tag: BR_hydro_v_0_3_1~103 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e47f0fde2261cc967e144b0c810a837d2d97bac;p=modules%2Fgui.git CMake: New macro SALOME_ADD_MPI_TO_HDF5() to overload HDF5 variables with MPI stuff when HDF5 was compiled parallel. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 32c6de265..3a4f03942 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,9 @@ FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C) # Other KERNEL optionals: IF(SALOME_USE_MPI) FIND_PACKAGE(SalomeMPI REQUIRED) + IF(HDF5_IS_PARALLEL) + SALOME_ADD_MPI_TO_HDF5() + ENDIF() ENDIF() IF(NOT SALOME_LIGHT_ONLY) FIND_PACKAGE(SalomeOmniORB REQUIRED)