[Lldb-commits] [PATCH] D140671: [lldb] [utils] Fix linking lit-cpuid to LLVM dylib

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 26 10:03:47 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdfc20708bcdf: [lldb] [utils] Fix linking lit-cpuid to LLVM dylib (authored by mgorny).
Herald added a project: LLDB.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140671/new/

https://reviews.llvm.org/D140671

Files:
  lldb/utils/lit-cpuid/CMakeLists.txt


Index: lldb/utils/lit-cpuid/CMakeLists.txt
===================================================================
--- lldb/utils/lit-cpuid/CMakeLists.txt
+++ lldb/utils/lit-cpuid/CMakeLists.txt
@@ -1,6 +1,9 @@
 add_lldb_executable(lit-cpuid
   lit-cpuid.cpp
+
+  LINK_COMPONENTS
+    Support
+    TargetParser
   )
 
-target_link_libraries(lit-cpuid PRIVATE LLVMSupport LLVMTargetParser)
 set_target_properties(lit-cpuid PROPERTIES FOLDER "lldb utils")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140671.485314.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221226/c82e2e6b/attachment.bin>


More information about the lldb-commits mailing list