]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: bug fix: OmniORB detection: Python backend is detected by looking
authorbruneton <bruneton>
Thu, 4 Jul 2013 07:27:59 +0000 (07:27 +0000)
committerbruneton <bruneton>
Thu, 4 Jul 2013 07:27:59 +0000 (07:27 +0000)
for the file omniidl_be/python.py (was omniidl_be/__init__.py)

salome_adm/cmake_files/FindOmniORB.cmake

index 3534dfbdfdde2b7accf7f7425fcf1efeab3b0087..a264362cc2863849e00db9a909ab25842343f099 100644 (file)
@@ -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()