* add package: zycore-c

* eliminate redundant build_shared flag in zycore
pull/1281/head
yszhou2019 3 years ago committed by GitHub
parent a612969d76
commit bcb63660fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 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)

Loading…
Cancel
Save