Skip to content

Commit

Permalink
limit plat
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing authored Jan 12, 2025
1 parent c0ff539 commit 2d5c328
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions packages/d/dipp/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,17 @@ package("dipp")

add_versions("2024.01.11", "85dd660b6829e9b2ff69f2d7b9be62811da17aed")

on_install(function (package)
on_check("windows", function (package)
import("core.base.semver")

local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
assert(vs_toolset and semver.new(vs_toolset):minor() >= 30, "package(dipp): need vs_toolset >= v143")
end)

on_install("windows", function (package)
local configs = {
['test'] = false,
['benchmark'] = false
test = false,
benchmark = false,
}
import("package.tools.xmake").install(package, configs)
end)
Expand Down

0 comments on commit 2d5c328

Please sign in to comment.