[DWP] Fix for Refactoring llvm-dwp in to a library
authorAlexander Yermolovich <ayermolo@fb.com>
Wed, 21 Jul 2021 01:16:11 +0000 (18:16 -0700)
committerAlexander Yermolovich <ayermolo@fb.com>
Wed, 21 Jul 2021 01:17:24 +0000 (18:17 -0700)
Fix build for https://reviews.llvm.org/D106198 when -DBUILD_SHARED_LIBS=ON. Test Plan:

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D106414

llvm/tools/llvm-dwp/CMakeLists.txt

index 3edc4fe..3bd1a5f 100644 (file)
@@ -1,6 +1,14 @@
 set(LLVM_LINK_COMPONENTS
   AllTargetsAsmParsers
   AllTargetsCodeGens
+  AllTargetsDescs
+  AllTargetsInfos
+  AsmPrinter
+  DebugInfoDWARF
+  MC
+  Object
+  Support
+  Target
   )
 
 add_llvm_tool(llvm-dwp