]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
CMake: New macro SALOME_ADD_MPI_TO_HDF5() to overload HDF5 variables
authorbruneton <bruneton>
Tue, 23 Jul 2013 12:17:49 +0000 (12:17 +0000)
committerbruneton <bruneton>
Tue, 23 Jul 2013 12:17:49 +0000 (12:17 +0000)
with MPI stuff when HDF5 was compiled parallel.

CMakeLists.txt

index 32c6de2652ef121045588b2cf1d05ea4799e214c..3a4f03942614f14a2cde7f3a49bc0d71898b4256 100755 (executable)
@@ -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)