From: Maintenance team (INV) Date: Tue, 16 Feb 2016 18:33:42 +0000 (+0300) Subject: Synchronize adm files X-Git-Tag: V7_8_0a2~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2d9a135f60709699fd3286944df5c96649fafac8;p=tools%2Fdocumentation.git Synchronize adm files --- diff --git a/CMakeModules/FindSalomePythonInterp.cmake b/CMakeModules/FindSalomePythonInterp.cmake index 8b20e14..ef1a8d7 100644 --- a/CMakeModules/FindSalomePythonInterp.cmake +++ b/CMakeModules/FindSalomePythonInterp.cmake @@ -40,6 +40,8 @@ SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(PythonInterp PYTHON_EXECUTABLE 1) IF(SALOMEPYTHONINTERP_FOUND) SET(PYTHON_PYTHONPATH "${PYTHON_ROOT_DIR}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") + GET_FILENAME_COMPONENT(_python_bin "${PYTHON_EXECUTABLE}" NAME ) + SET(PYTHONBIN "${_python_bin}" CACHE STRING "Name of Python interpreter") SALOME_ACCUMULATE_ENVIRONMENT(PATH ${PYTHON_EXECUTABLE}) SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${PYTHON_PYTHONPATH}) ENDIF()