浏览代码

limit plat for bullet3

ruki 6 年之前
父节点
当前提交
d26c605b71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/b/bullet3/xmake.lua

+ 1 - 1
packages/b/bullet3/xmake.lua

@@ -9,7 +9,7 @@ package("bullet3")
 
     add_deps("cmake")
 
-    on_install(function (package)
+    on_install("macosx", "linux", "windows", function (package)
         local configs = {}
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))