Skip to content

Commit 482d22d

Browse files
committedMar 17, 2023
[clang][test] Fix -DBUILD_SHARED_LIBS build by adding depency on MC from clangTesting
Commit 34de7da (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.
1 parent 55cb579 commit 482d22d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎clang/lib/Testing/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ add_llvm_library(clangTesting
1111
BUILDTREE_ONLY
1212

1313
LINK_COMPONENTS
14+
MC
1415
Support
1516
)
1617

0 commit comments

Comments
 (0)
Please sign in to comment.