From c275b8ec08d5abe7da147a27bda360341926ce13 Mon Sep 17 00:00:00 2001 From: bruneton Date: Thu, 4 Jul 2013 07:27:59 +0000 Subject: [PATCH] CMake: bug fix: OmniORB detection: Python backend is detected by looking for the file omniidl_be/python.py (was omniidl_be/__init__.py) --- salome_adm/cmake_files/FindOmniORB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/cmake_files/FindOmniORB.cmake b/salome_adm/cmake_files/FindOmniORB.cmake index 3534dfbdf..a264362cc 100644 --- a/salome_adm/cmake_files/FindOmniORB.cmake +++ b/salome_adm/cmake_files/FindOmniORB.cmake @@ -107,7 +107,7 @@ IF(WIN32) NAMES python.py PATHS "/lib/python/omniidl_be" DOC ${_doc}) ELSE() FIND_PATH(OMNIORB_PYTHON_BACKEND - NAMES __init__.py + NAMES python.py PATHS "/lib/python${_py_version}/site-packages/omniidl_be" "/usr/lib/omniidl/omniidl_be" DOC ${_doc}) ENDIF() -- 2.39.2