From: Renaud Barate Date: Wed, 28 Aug 2013 07:16:48 +0000 (+0200) Subject: Adapt to changes in OMNIORB_ADD_MODULE macro X-Git-Tag: V7_3_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a7dc9c6124a0e5fc380bab86c849b30f04e504f4;p=modules%2Fparametric.git Adapt to changes in OMNIORB_ADD_MODULE macro --- diff --git a/idl/CMakeLists.txt b/idl/CMakeLists.txt index fa2a547..2ee16d1 100644 --- a/idl/CMakeLists.txt +++ b/idl/CMakeLists.txt @@ -26,8 +26,6 @@ INCLUDE_DIRECTORIES( 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})