From: vsr Date: Thu, 24 Oct 2013 07:46:37 +0000 (+0000) Subject: Fix problem of last improvements: X-Git-Tag: V7_3_0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34e4eb216b8e6a88cbcd12ab0e50f48d384608ad;p=modules%2Fparavis.git Fix problem of last improvements: - add missing -DPARAVIS_WITH_FULL_CORBA to Python flags for omniidl - use PARAVIS specific backend instead of standard one --- diff --git a/idl/CMakeLists.txt b/idl/CMakeLists.txt index 3789eb18..6ea44df2 100644 --- a/idl/CMakeLists.txt +++ b/idl/CMakeLists.txt @@ -24,11 +24,15 @@ INCLUDE_DIRECTORIES( ${PROJECT_BINARY_DIR}/idl ) +# we use PARAVIS specific back-end +SET(OMNIORB_IDLPYFLAGS -bpythonIDL -p${CMAKE_CURRENT_SOURCE_DIR}) + IF(NOT SALOME_PARAVIS_MINIMAL_CORBA) INCLUDE(wrap.cmake) # Hack to have a -D on the omniidl command line: # (again, this shouldn't last for long ...) SET(OMNIORB_IDLCXXFLAGS "${OMNIORB_IDLCXXFLAGS};-DPARAVIS_WITH_FULL_CORBA") + SET(OMNIORB_IDLPYFLAGS "${OMNIORB_IDLPYFLAGS};-DPARAVIS_WITH_FULL_CORBA") ADD_DEFINITIONS(-DPARAVIS_WITH_FULL_CORBA) ENDIF()