]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
This commit was generated by cvs2git to create tag 'PARAVIS_TEST'. PARAVIS_TEST
authoradmin <salome-admin@opencascade.com>
Wed, 12 Nov 2008 17:01:40 +0000 (17:01 +0000)
committeradmin <salome-admin@opencascade.com>
Wed, 12 Nov 2008 17:01:40 +0000 (17:01 +0000)
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

salome_adm/cmake_files/FindPYTHON.cmake

index 2f6bff9da9eba344e201cfd3994aaf2e456843c7..62c7e3f96b7be1a104402f31ac9a073b8f024e8c 100644 (file)
@@ -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
   )