[clang][test] Fix -DBUILD_SHARED_LIBS build by adding depency on MC from clangTesting
authorAlex Bradbury <asb@igalia.com>
Fri, 17 Mar 2023 14:42:41 +0000 (14:42 +0000)
committerAlex Bradbury <asb@igalia.com>
Fri, 17 Mar 2023 14:45:48 +0000 (14:45 +0000)
commit482d22d05a4a30a4f8594273bd359f7d311c9d4c
tree19c69e8513ef0876eccd9105c995b059ee77000c
parent55cb5796526b0cb72e90053ea146560c08a9c251
[clang][test] Fix -DBUILD_SHARED_LIBS build by adding depency on MC from clangTesting

Commit 34de7da6246cdfa6ff6f3d3c514583cddc0a10ec (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.
clang/lib/Testing/CMakeLists.txt