From 0bcde13c8438aa9d747f996d25a33f0b47d4fd94 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 21 Mar 2012 14:06:38 +0000 Subject: [PATCH] Cmakization of MED. --- idl/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/idl/CMakeLists.txt b/idl/CMakeLists.txt index 22c1211e8..b7eda1df3 100644 --- a/idl/CMakeLists.txt +++ b/idl/CMakeLists.txt @@ -34,6 +34,7 @@ SET(SalomeIDLMED_IDLSOURCES MEDCouplingCorbaServant.idl ParaMEDCouplingCorbaServant.idl ) + IF(MPI_IS_OK) SET(SalomeIDLMED_IDLSOURCES ${SalomeIDLMED_IDLSOURCES} ParaMEDMEMComponent.idl) ENDIF(MPI_IS_OK) @@ -54,3 +55,5 @@ SET_TARGET_PROPERTIES(SalomeIDLMED PROPERTIES COMPILE_FLAGS "${OMNIORB_FLAGS}") OMNIORB_ADD_MODULE(SalomeIDLMEDTests "${SalomeIDLMEDTests_IDLSOURCES}" "${IDL_INCLUDE_DIRS}") TARGET_LINK_LIBRARIES(SalomeIDLMEDTests ${CORBA_LIBS} ${KERNEL_LDFLAGS} ${SalomeIDLKernel}) SET_TARGET_PROPERTIES(SalomeIDLMEDTests PROPERTIES COMPILE_FLAGS "${OMNIORB_FLAGS}") + +INSTALL(TARGETS SalomeIDLMED SalomeIDLMEDTests DESTINATION ${MED_salomelib_LIBS}) -- 2.39.2