INCLUDE(UseOMNIORB)
INCLUDE_DIRECTORIES(
- ${OMNIORB_INCLUDE_DIRS}
+ ${OMNIORB_INCLUDE_DIR}
${KERNEL_ROOT_DIR}/include/salome
${CMAKE_CURRENT_BINARY_DIR}
)
SET(IDL_INCLUDE_DIRS ${KERNEL_ROOT_DIR}/idl/salome)
OMNIORB_ADD_MODULE(SalomeIDLPARAMETRIC "${PARAMETRIC_IDL_FILES}" "${IDL_INCLUDE_DIRS}" SHARED)
-TARGET_LINK_LIBRARIES(SalomeIDLPARAMETRIC ${CORBA_LIBS} ${KERNEL_LDFLAGS} ${SalomeIDLKernel})
+TARGET_LINK_LIBRARIES(SalomeIDLPARAMETRIC ${OMNIORB_LIBRARIES} ${KERNEL_LDFLAGS} ${SalomeIDLKernel})
SET_TARGET_PROPERTIES(SalomeIDLPARAMETRIC PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}")
INSTALL(TARGETS SalomeIDLPARAMETRIC DESTINATION ${LIBDIR})