[BOLT][CMAKE] Fix llvm-bolt-fuzzer build

Add X86/AArch64 targets to resolve missing dependencies, e.g.:
`undefined reference to `LLVMInitializeX86AsmParser'`

Follow-up to D124206

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D124886
This commit is contained in:
Amir Ayupov 2022-05-03 15:35:45 -07:00
parent 5afd20806d
commit f9db6d2d5b

View File

@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
BOLTRewrite
${LLVM_TARGETS_TO_BUILD}
)
add_llvm_fuzzer(llvm-bolt-fuzzer