瀏覽代碼

Zycore c (#1280)

* add package: zycore-c

* eliminate redundant build_shared flag in zycore
yszhou2019 3 年之前
父節點
當前提交
bcb63660fe
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/z/zycore-c/xmake.lua

+ 0 - 1
packages/z/zycore-c/xmake.lua

@@ -18,7 +18,6 @@ package("zycore-c")
         local configs = {}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         table.insert(configs, "-DZYCORE_BUILD_SHARED_LIB=" .. (package:config("shared") and "ON" or "OFF"))
-        table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         import("package.tools.cmake").install(package, configs)
     end)