SET(PARAMETRIC_IDL_FILES PARAMETRIC_Gen.idl)
SET(IDL_INCLUDE_DIRS ${KERNEL_ROOT_DIR}/idl/salome)
-OMNIORB_ADD_MODULE(SalomeIDLPARAMETRIC "${PARAMETRIC_IDL_FILES}" "${IDL_INCLUDE_DIRS}" SHARED)
-TARGET_LINK_LIBRARIES(SalomeIDLPARAMETRIC ${OMNIORB_LIBRARIES} ${KERNEL_LDFLAGS} ${SalomeIDLKernel})
-SET_TARGET_PROPERTIES(SalomeIDLPARAMETRIC PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}")
-
+OMNIORB_ADD_MODULE(SalomeIDLPARAMETRIC "${PARAMETRIC_IDL_FILES}" "${IDL_INCLUDE_DIRS}"
+ ${KERNEL_SalomeIDLKernel})
INSTALL(TARGETS SalomeIDLPARAMETRIC DESTINATION ${SALOME_INSTALL_LIBS})