-# 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()