Nemanja Ivanovic f6e4b9fc06 [RISCV] Fix shared libs build
Commit a2d19bad07454ae7936d8f2b8482e24d57954fc4 introduced a
dependency in the RISCV disassembler on two additional libraries
(MC, RISCVDesc) which wasn't added to the CMakeLists.txt. This
causes shared library builds to break. This patch just adds them
to fix failures seen on some bots, such as the PPC64LE Multistage.
2021-02-09 06:14:25 -06:00

14 lines
180 B
CMake

add_llvm_component_library(LLVMRISCVDisassembler
RISCVDisassembler.cpp
LINK_COMPONENTS
MC
MCDisassembler
RISCVDesc
RISCVInfo
Support
ADD_TO_COMPONENT
RISCV
)