modify vs runtime (#2239)

pull/2241/head
ruki 2 years ago committed by GitHub
parent 27ad63505b
commit 5dfcc8800e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/c/coost/xmake.lua

@ -37,6 +37,12 @@ package("coost")
configs["with_" .. name] = true
end
end
if package:is_plat("windows") then
local vs_runtime = package:config("vs_runtime")
if vs_runtime then
io.replace("xmake.lua", "set_runtimes%(.-%)", "set_runtimes(\"" .. vs_runtime .. "\")")
end
end
import("package.tools.xmake").install(package, configs)
end)

Loading…
Cancel
Save