From: admin Date: Wed, 12 Nov 2008 17:01:40 +0000 (+0000) Subject: This commit was generated by cvs2git to create tag 'PARAVIS_TEST'. X-Git-Tag: PARAVIS_TEST X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7b8586d84a60dfd911d62a7144d786e74d939b87;p=modules%2Fkernel.git This commit was generated by cvs2git to create tag 'PARAVIS_TEST'. Sprout from BR_V5_IMP_P8 2008-10-30 10:09:01 UTC admin '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 'Use PYTHON_EXECUTABLE variable instead of python ...': salome_adm/cmake_files/FindPYTHON.cmake --- diff --git a/salome_adm/cmake_files/FindPYTHON.cmake b/salome_adm/cmake_files/FindPYTHON.cmake index 2f6bff9da..62c7e3f96 100644 --- a/salome_adm/cmake_files/FindPYTHON.cmake +++ b/salome_adm/cmake_files/FindPYTHON.cmake @@ -6,7 +6,7 @@ ELSE(WINDOWS) 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 )