From e9d57321f95ca2722499c81b809cd77a5870321d Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Mon, 8 Feb 2016 15:23:22 +0100 Subject: [PATCH] Fix for MPIComponent using module MED. --- module_generator/mpicompo.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 + -- 2.39.2