Skip to content

Commit

Permalink
[lldb][test] Only link Windows libraries on Windows
Browse files Browse the repository at this point in the history
ld.lld: error: unable to find library -llldbPluginProcessWindowsCommon

https://lab.llvm.org/buildbot/#/builders/96/builds/50407

Fixes 95e5839.
  • Loading branch information
DavidSpickett committed Dec 21, 2023
1 parent b223aeb commit 513c215
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lldb/unittests/Thread/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
list(APPEND LLDB_WINDOWS_LIBS lldbPluginProcessWindows)
list(APPEND LLDB_WINDOWS_LIBS lldbPluginProcessWindowsCommon)
endif()

add_lldb_unittest(ThreadTests
ThreadTest.cpp

Expand All @@ -11,7 +16,6 @@ add_lldb_unittest(ThreadTests
lldbInterpreter
lldbBreakpoint
lldbPluginPlatformLinux
lldbPluginPlatformWindows
lldbPluginProcessWindowsCommon
${LLDB_WINDOWS_LIBS}
)

0 comments on commit 513c215

Please sign in to comment.