Fix compilation on posix (#2017)

pull/2038/head
A2va 2 years ago committed by GitHub
parent c947399ee8
commit 86b3573fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/c/cpuinfo/xmake.lua

@ -14,6 +14,9 @@ package("cpuinfo")
end
add_links("cpuinfo", "clog")
if is_plat("linux", "macosx", "bsd") then
add_syslinks("pthread")
end
on_install("windows", "linux", "macosx", "bsd", "android", function (package)
local configs = {"-DCPUINFO_BUILD_TOOLS=OFF",

Loading…
Cancel
Save