BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.86k stars 1.82k forks source link

fix: Support build on Apple Sillicon. #326

Closed snakeeye closed 2 years ago

snakeeye commented 2 years ago

This commit added the support to build on Apple Sillicon machine. Issue: libclang.dylib is x86_t4 format, The meta_parser failed in linking. Solution: For the Apple Siliccon machine, link to the ${OSX_DEVELOPER_ROOT}/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib which is universal binary (x86_64 & arm64) modified: engine/source/meta_parser/CMakeLists.txt

Ol6rin commented 2 years ago

谢谢贡献,我们会尽快安排测试

liupeining commented 2 years ago

亲测可行,谢谢大佬