From: Renaud Barate Date: Fri, 18 Jan 2013 09:49:55 +0000 (+0100) Subject: Fix compilation with new KERNEL OmniORB macros X-Git-Tag: V7_2_0~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3d74ad22c86c381779de2f81d1fd17448e08a308;p=modules%2Fparametric.git Fix compilation with new KERNEL OmniORB macros --- diff --git a/idl/CMakeLists.txt b/idl/CMakeLists.txt index 84df640..03c29f4 100644 --- a/idl/CMakeLists.txt +++ b/idl/CMakeLists.txt @@ -18,7 +18,7 @@ INCLUDE(UseOMNIORB) INCLUDE_DIRECTORIES( - ${OMNIORB_INCLUDE_DIRS} + ${OMNIORB_INCLUDE_DIR} ${KERNEL_ROOT_DIR}/include/salome ${CMAKE_CURRENT_BINARY_DIR} ) @@ -27,7 +27,7 @@ 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 ${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})