Skip to content

Commit

Permalink
limit arch
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Jan 23, 2025
1 parent da3b6b9 commit 90677a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/o/octree/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ package("octree")

add_versions("v2.5", "86088cd000254aeddf4f9d75c0600b7f799e062340394124d69760829ed317fe")

on_check(function (package)
if not package:is_arch("x64", "x86", "x86_64") then
raise("package(octree) only support x86 arch")
end
end)

on_install(function (package)
os.cp("*.h", package:installdir("include"))
end)
Expand Down

0 comments on commit 90677a5

Please sign in to comment.