]> SALOME platform Git repositories - modules/parametric.git/commitdiff
Salome HOME
Adapt to changes in OMNIORB_ADD_MODULE macro
authorRenaud Barate <renaud.barate@edf.fr>
Wed, 28 Aug 2013 07:16:48 +0000 (09:16 +0200)
committerRenaud Barate <renaud.barate@edf.fr>
Wed, 28 Aug 2013 07:16:48 +0000 (09:16 +0200)
idl/CMakeLists.txt

index fa2a547eaab2b66cf1b9216d6f169a73fca9c541..2ee16d14bb0fe4509abb8ef89613ca31667dd42f 100644 (file)
@@ -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})