libcpuid: support exclusively x86 archs (#3988)

pull/3989/head
Jérôme Leclercq 7 months ago committed by GitHub
parent 60f3eaccc8
commit 4bacb00525
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/l/libcpuid/xmake.lua

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

Loading…
Cancel
Save