From: bruneton Date: Thu, 4 Jul 2013 07:27:59 +0000 (+0000) Subject: CMake: bug fix: OmniORB detection: Python backend is detected by looking X-Git-Tag: B4KillOfAutomake~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c275b8ec08d5abe7da147a27bda360341926ce13;p=modules%2Fkernel.git CMake: bug fix: OmniORB detection: Python backend is detected by looking for the file omniidl_be/python.py (was omniidl_be/__init__.py) --- 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()