]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
Fix for MPIComponent using module MED.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 8 Feb 2016 14:23:22 +0000 (15:23 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Mon, 8 Feb 2016 14:23:22 +0000 (15:23 +0100)
module_generator/mpicompo.py

index 2ea388d1ed4401b36ced499c7455ec9802c51c52..5703a9088f8426f0972594de3a69b3ab49319391 100644 (file)
@@ -204,3 +204,13 @@ class MPIComponent(CPPComponent):
     if self.interfacedefs:
       idldefs = idldefs + self.interfacedefs
     return idldefs
+  
+  def additionalLibraries(self):
+    cmake_text, cmake_vars = Component.additionalLibraries(self)
+    if "MED" in self.getDependentModules():
+      cmake_vars = cmake_vars + """
+  ${MED_paramedmemcompo}
+  ${MED_paramedcouplingcorba}  
+"""
+    return cmake_text, cmake_vars
+