Roman Lebedev a33ae9ac35
[NFC][CMake] Explicitly link to MC when needed
These targets use `MCInst`, but don't explicitly link
to the library providing it (MC), and just rely on it
being pulled transitively through e.g. MCDisassembler,
but that only pulls includes, and does not link to it.

Case in point, when i add explicit destructor to `MCInst`,
defined in `.cpp`, these targets were failing to link.
2022-12-13 16:24:46 +03:00

13 lines
172 B
CMake

add_llvm_component_library(LLVMPowerPCDisassembler
PPCDisassembler.cpp
LINK_COMPONENTS
MCDisassembler
MC
PowerPCInfo
Support
ADD_TO_COMPONENT
PowerPC
)