This revision was automatically updated to reflect the committed changes.
Closed by commit rGeb5ee9275d7a: [LLDB] Add missing declarations for linking to
psapi (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73839/new/
https://reviews.llvm.org/D73839
Files:
lldb/source/Host/CMakeLists.txt
lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
Index: lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
===================================================================
--- lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
+++ lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
@@ -29,6 +29,7 @@
lldbTarget
ws2_32
rpcrt4
+ psapi
LINK_COMPONENTS
Support
)
Index: lldb/source/Host/CMakeLists.txt
===================================================================
--- lldb/source/Host/CMakeLists.txt
+++ lldb/source/Host/CMakeLists.txt
@@ -161,6 +161,9 @@
if (LLDB_ENABLE_LZMA)
list(APPEND EXTRA_LIBS ${LIBLZMA_LIBRARIES})
endif()
+if (WIN32)
+ list(APPEND LLDB_SYSTEM_LIBS psapi)
+endif ()
if (LLDB_ENABLE_LIBEDIT)
list(APPEND LLDB_LIBEDIT_LIBS ${LibEdit_LIBRARIES})
Index: lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
===================================================================
--- lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
+++ lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
@@ -29,6 +29,7 @@
lldbTarget
ws2_32
rpcrt4
+ psapi
LINK_COMPONENTS
Support
)
Index: lldb/source/Host/CMakeLists.txt
===================================================================
--- lldb/source/Host/CMakeLists.txt
+++ lldb/source/Host/CMakeLists.txt
@@ -161,6 +161,9 @@
if (LLDB_ENABLE_LZMA)
list(APPEND EXTRA_LIBS ${LIBLZMA_LIBRARIES})
endif()
+if (WIN32)
+ list(APPEND LLDB_SYSTEM_LIBS psapi)
+endif ()
if (LLDB_ENABLE_LIBEDIT)
list(APPEND LLDB_LIBEDIT_LIBS ${LibEdit_LIBRARIES})
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits