Skip to content

Commit

Permalink
vars.bat: fix issue with no TBB in PATH (#624)
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Isaev <[email protected]>
  • Loading branch information
isaevil authored Oct 19, 2021
1 parent 5a5c793 commit e109790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/windows/env/vars.bat
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ if /i "%1"=="all" (set TBB_TARGET_VS=vc_mt) & shift & goto ParseAr
:SetEnv
if exist "%TBBROOT%\redist\%TBB_TARGET_ARCH%\%TBB_TARGET_VS%\tbb12.dll" (
set "TBB_DLL_PATH=%TBBROOT%\redist\%TBB_TARGET_ARCH%\%TBB_TARGET_VS%"
set "PATH=%TBB_DLL_PATH%;%PATH%"
)
if exist "%TBBROOT%\..\redist\%TBB_TARGET_ARCH%\tbb\%TBB_TARGET_VS%\tbb12.dll" (
set "TBB_DLL_PATH=%TBBROOT%\..\redist\%TBB_TARGET_ARCH%\tbb\%TBB_TARGET_VS%"
set "PATH=%TBB_DLL_PATH%;%PATH%"
)

set "PATH=%TBB_DLL_PATH%;%PATH%"

set "LIB=%TBBROOT%\lib\%TBB_TARGET_ARCH%\%TBB_TARGET_VS%;%LIB%"
set "INCLUDE=%TBBROOT%\include;%INCLUDE%"
set "CPATH=%TBBROOT%\include;%CPATH%"
Expand Down

0 comments on commit e109790

Please sign in to comment.