[clang][test] Fix -DBUILD_SHARED_LIBS build by adding depency on MC from clangTesting

Commit 34de7da624 (D143436) introduced a
dependency on the TargetRegistry in `getAnyTargetForTesting`. This is
part of MC, which wasn't listed in clang/lib/Testing/CMakeLists.txt.
This broke the -DBUILD_SHARED_LIBS=True builds.
This commit is contained in:
Alex Bradbury 2023-03-17 14:42:41 +00:00
parent 55cb579652
commit 482d22d05a

View File

@ -11,6 +11,7 @@ add_llvm_library(clangTesting
BUILDTREE_ONLY
LINK_COMPONENTS
MC
Support
)