From: Maintenance team (INV) Date: Tue, 16 Feb 2016 18:33:23 +0000 (+0300) Subject: Synchronize adm files X-Git-Tag: V7_8_0a2~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0d9992487cf92344d4cdf6e36c7ba4a1fab2988;p=tools%2Fmedcoupling.git Synchronize adm files --- diff --git a/cmake_files/FindSalomePythonInterp.cmake b/cmake_files/FindSalomePythonInterp.cmake index 8b20e14cc..ef1a8d7d2 100644 --- a/cmake_files/FindSalomePythonInterp.cmake +++ b/cmake_files/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()