]> SALOME platform Git repositories - modules/parametric.git/commitdiff
Salome HOME
Fix compilation with new KERNEL OmniORB macros
authorRenaud Barate <renaud.barate@edf.fr>
Fri, 18 Jan 2013 09:49:55 +0000 (10:49 +0100)
committerRenaud Barate <renaud.barate@edf.fr>
Fri, 18 Jan 2013 09:49:55 +0000 (10:49 +0100)
idl/CMakeLists.txt

index 84df64048f8c6f98a0a27c855db01b16323a02db..03c29f49cd0fb6acf6cf4e6c3a72e6fd7de59468 100644 (file)
@@ -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})