Skip to content

Commit 3394c0f

Browse files
authored
Fix nightly wheels builds for Windows (#1358)
1 parent 85ffd93 commit 3394c0f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packaging/windows/build_vision.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,16 @@ for %%v in (%DESIRED_PYTHON_PREFIX%) do (
117117
:: Activate Python Environment
118118
set PYTHON_PREFIX=%%v
119119
set "PATH=%CONDA_HOME%\envs\%%v;%CONDA_HOME%\envs\%%v\scripts;%CONDA_HOME%\envs\%%v\Library\bin;%ORIG_PATH%"
120+
if defined INCLUDE (
121+
set "INCLUDE=%INCLUDE%;%CONDA_HOME%\envs\%%v\Library\include"
122+
) else (
123+
set "INCLUDE=%CONDA_HOME%\envs\%%v\Library\include"
124+
)
125+
if defined LIB (
126+
set "LIB=%LIB%;%CONDA_HOME%\envs\%%v\Library\lib"
127+
) else (
128+
set "LIB=%CONDA_HOME%\envs\%%v\Library\lib"
129+
)
120130
@setlocal
121131
:: Set Flags
122132
if NOT "%CUDA_VERSION%"=="cpu" (

0 commit comments

Comments
 (0)