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}")
+OMNIORB_ADD_MODULE(SalomeIDLPARAMETRIC "${PARAMETRIC_IDL_FILES}" "${IDL_INCLUDE_DIRS}" SHARED)
TARGET_LINK_LIBRARIES(SalomeIDLPARAMETRIC ${CORBA_LIBS} ${KERNEL_LDFLAGS} ${SalomeIDLKernel})
SET_TARGET_PROPERTIES(SalomeIDLPARAMETRIC PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}")