[M68k] Put M68kInfo as the direct library dependency for AsmParser
authorMin-Yih Hsu <minyihh@uci.edu>
Wed, 14 Apr 2021 04:15:47 +0000 (21:15 -0700)
committerMin-Yih Hsu <minyihh@uci.edu>
Wed, 14 Apr 2021 04:21:02 +0000 (21:21 -0700)
commit91b6ef64db55084b33295e640258c926acedcb1a
treea1733fa632e1bd9e3b5c118e5f682c3193c03932
parentd5ed0d4816fee73cb508cbb68be2444412093af7
[M68k] Put M68kInfo as the direct library dependency for AsmParser

M68kAsmParser uses `llvm::getTheM68kTarget` from M68kInfo, therefore we
should put M68kInfo as its direct dependency. Otherwise the build will
fail when building LLVM libraries as shared objects (building LLVM
libraries statically won't have this problem though).
llvm/lib/Target/M68k/AsmParser/CMakeLists.txt