[lldb][test] Only link Windows libraries on Windows
commit513c2151cd0cddd90af91a6614b15b74b538963e
authorDavid Spickett <david.spickett@linaro.org>
Thu, 21 Dec 2023 13:10:33 +0000 (21 13:10 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Thu, 21 Dec 2023 13:11:34 +0000 (21 13:11 +0000)
treec9c1a6856f87150dc0473e7ae86b74b30da40445
parentb223aebd3ff9fd705d0b9054023ad6b77c933d92
[lldb][test] Only link Windows libraries on Windows

ld.lld: error: unable to find library -llldbPluginProcessWindowsCommon

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

Fixes 95e5839e06fdffd278499257c6e7679bba3d6868.
lldb/unittests/Thread/CMakeLists.txt