diff options
| author | Martin Ridgers <[email protected]> | 2022-01-13 15:58:48 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-13 16:00:08 +0100 |
| commit | a077cccfc3c7934c44c84168f5bbc94a333d3640 (patch) | |
| tree | 30484c12f252a597d1676df01472e2871dacb48b /zencore/xmake.lua | |
| parent | Added ZEN_ prefix to define for consistency (diff) | |
| download | zen-a077cccfc3c7934c44c84168f5bbc94a333d3640.tar.xz zen-a077cccfc3c7934c44c84168f5bbc94a333d3640.zip | |
Blake3 for Mac Arm64
Diffstat (limited to 'zencore/xmake.lua')
| -rw-r--r-- | zencore/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zencore/xmake.lua b/zencore/xmake.lua index 1af64f5c2..c70cec9c7 100644 --- a/zencore/xmake.lua +++ b/zencore/xmake.lua @@ -17,7 +17,11 @@ target('zencore') add_links("oo2corelinux64") add_syslinks("pthread") elseif is_os("macosx") then - add_linkdirs("$(projectdir)/thirdparty/BLAKE3/lib/Mac_x64") + if is_arch("arm64") then + add_linkdirs("$(projectdir)/thirdparty/BLAKE3/lib/Mac_arm64") + else + add_linkdirs("$(projectdir)/thirdparty/BLAKE3/lib/Mac_x64") + end add_linkdirs("$(projectdir)/thirdparty/Oodle/lib/Mac_x64") add_links("blake3") add_links("oo2coremac64") |