Skip to content

Commit

Permalink
Fix the path for TBB_ROOT on windows images. (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper authored May 9, 2024
1 parent 74f7f64 commit 8d0d1e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion windows/image/installers/install-tbb.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ Invoke-WebRequest -Uri "https://github.com/oneapi-src/oneTBB/releases/download/v
Expand-Archive .\tbb.zip
Remove-Item .\tbb.zip

$cwd = Get-Location

# CMake 3.27 or greater can locate packages from this env var:
$ENV:TBB_ROOT = "$PSScriptRoot\tbb\oneapi-tbb-$TBB_VERSION"
$ENV:TBB_ROOT = "$cwd\tbb\oneapi-tbb-$TBB_VERSION"

0 comments on commit 8d0d1e1

Please sign in to comment.