ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
-# we use PARAVIS specific back-end
-SET(OMNIORB_IDLPYFLAGS -bpythonIDL -p${CMAKE_CURRENT_SOURCE_DIR})
-
SET(SalomeIDLPARAVIS_IDLSOURCES
${CMAKE_CURRENT_SOURCE_DIR}/PVSERVER_Gen.idl
)
${KERNEL_SalomeIDLKernel}
)
+# Demand Python generation:
+SET(OMNIORB_PYTHON_BACKEND 1)
OMNIORB_ADD_MODULE(SalomeIDLPVServer "${SalomeIDLPARAVIS_IDLSOURCES}" "${_idl_include_dirs}" "${_idl_link_flags}")
INSTALL(TARGETS SalomeIDLPVServer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})