Update fetching policy for TBB library (#4128)

* Update fetching policy for TBB library

Oneapi has changed its pathes for tbb

* Update fetch.lua

minor formatting
pull/4143/head
Altina Orion 6 months ago committed by GitHub
parent adc1097496
commit 58a7e8c244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/t/tbb/fetch.lua

@ -11,7 +11,7 @@ function _find_package_on_windows(package, opt)
-- find includes and links
local result = {links = {}, linkdirs = {}, includedirs = {}}
for _, lib in ipairs({"tbb", "tbbmalloc", "tbbmalloc_proxy"}) do
local linkinfo = find_library(lib, paths, {suffixes = path.join("lib", rdir, "vc14")})
local linkinfo = find_library(lib, paths, {suffixes = {"lib", path.join("lib", rdir, "vc14")}})
if linkinfo then
table.insert(result.linkdirs, linkinfo.linkdir)
table.insert(result.links, lib)

Loading…
Cancel
Save