build-macos: fix cmake config for arm64

This commit is contained in:
sguo35 2022-04-04 12:36:13 -07:00 committed by Ivan
parent afae58b231
commit 219ddf3e11
2 changed files with 16 additions and 5 deletions

2
3rdparty/llvm.cmake vendored
View file

@ -70,7 +70,7 @@ if(WITH_LLVM)
endif()
if(COMPILER_ARM)
set(LLVM_LIBS ${LLVM_LIBS} LLVMX86CodeGen LLVMX86AsmParser LLVMARMCodeGen LLVMARMAsmParser)
set(LLVM_LIBS ${LLVM_LIBS} LLVMX86CodeGen LLVMX86AsmParser LLVMARMCodeGen LLVMARMAsmParser LLVMAArch64CodeGen LLVMAArch64AsmParser)
endif()
if(WIN32 OR CMAKE_SYSTEM MATCHES "Linux")