From: ageay Date: Wed, 21 Mar 2012 14:06:38 +0000 (+0000) Subject: Cmakization of MED. X-Git-Tag: V6_main_FINAL~763 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0bcde13c8438aa9d747f996d25a33f0b47d4fd94;p=tools%2Fmedcoupling.git Cmakization of MED. --- 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})