add install platforms

pull/4138/head
exdal 8 months ago
parent cf3dace4e2
commit e0363cd491
  1. 2
      packages/s/slang/xmake.lua

@ -22,7 +22,7 @@ package("slang")
add_configs("slang_llvm_flavor", { description = "How to get or build slang-llvm (available options: FETCH_BINARY, USE_SYSTEM_LLVM, DISABLE)", default = "DISABLE", type = "string" })
add_deps("cmake")
on_install(function (package)
on_install("windows|x64", "macosx", "linux|x86_64", function (package)
package:addenv("PATH", "bin")
import("package.tools.cmake")
local configs = {}

Loading…
Cancel
Save