Sprout from BR_V5_IMP_P8 2008-10-30 10:09:01 UTC admin <salome-admin@opencascade.com> 'This commit was generated by cvs2git to create branch 'BR_V5_IMP_P8'.'
Cherrypick from BR_V5_DEV 2008-11-12 17:01:39 UTC adam <adam> 'Use PYTHON_EXECUTABLE variable instead of python ...':
salome_adm/cmake_files/FindPYTHON.cmake
ENDIF(WINDOWS)
EXECUTE_PROCESS(
- COMMAND python -c "import sys; sys.stdout.write(sys.version[:3])"
+ COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
OUTPUT_VARIABLE PYTHON_VERSION
)