From e0363cd491d6d4bb05e387a2ac228c48d4b3ecd6 Mon Sep 17 00:00:00 2001 From: exdal <63502313+exdal@users.noreply.github.com> Date: Mon, 27 May 2024 19:29:03 +0300 Subject: [PATCH] add install platforms --- packages/s/slang/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/s/slang/xmake.lua b/packages/s/slang/xmake.lua index 7f1ba0574..61c101e81 100644 --- a/packages/s/slang/xmake.lua +++ b/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 = {}