From 34e4eb216b8e6a88cbcd12ab0e50f48d384608ad Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 24 Oct 2013 07:46:37 +0000 Subject: [PATCH] Fix problem of last improvements: - add missing -DPARAVIS_WITH_FULL_CORBA to Python flags for omniidl - use PARAVIS specific backend instead of standard one --- idl/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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() -- 2.39.2