From: Ovidiu Mircescu Date: Mon, 8 Feb 2016 14:23:22 +0000 (+0100) Subject: Fix for MPIComponent using module MED. X-Git-Tag: V8_1_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9d57321f95ca2722499c81b809cd77a5870321d;p=tools%2Fyacsgen.git Fix for MPIComponent using module MED. --- diff --git a/module_generator/mpicompo.py b/module_generator/mpicompo.py index 2ea388d..5703a90 100644 --- a/module_generator/mpicompo.py +++ b/module_generator/mpicompo.py @@ -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 +