Răsfoiți Sursa

Add cmake to the path to fix the build on kokoro (#8246)

gerben-s 4 ani în urmă
părinte
comite
fe47e99a4f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      kokoro/release/python/windows/build_single_artifact.bat

+ 1 - 1
kokoro/release/python/windows/build_single_artifact.bat

@@ -27,7 +27,7 @@ if %PYTHON%==C:\python38 set vcplatform=x64
 REM Prepend newly installed Python to the PATH of this build (this cannot be
 REM Prepend newly installed Python to the PATH of this build (this cannot be
 REM done from inside the powershell script as it would require to restart
 REM done from inside the powershell script as it would require to restart
 REM the parent CMD process).
 REM the parent CMD process).
-SET PATH=%PYTHON%;%PYTHON%\Scripts;%OLD_PATH%
+SET PATH=C:\Program Files\CMake\bin;%PYTHON%;%PYTHON%\Scripts;%OLD_PATH%
 python -m pip install -U pip
 python -m pip install -U pip
 pip install wheel
 pip install wheel