[clang] 480c59c - [Testing] fix shared lib build after a7691dee2d3c0ea3f9f4d1
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 13:50:40 PDT 2022
Author: Sam McCall
Date: 2022-04-21T22:50:33+02:00
New Revision: 480c59c11a878afd66c9142a4e9f20b1c5205a33
URL: https://github.com/llvm/llvm-project/commit/480c59c11a878afd66c9142a4e9f20b1c5205a33
DIFF: https://github.com/llvm/llvm-project/commit/480c59c11a878afd66c9142a4e9f20b1c5205a33.diff
LOG: [Testing] fix shared lib build after a7691dee2d3c0ea3f9f4d1
We still want clang_target_link_libraries for the clang deps.
Added:
Modified:
clang/lib/Testing/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/Testing/CMakeLists.txt b/clang/lib/Testing/CMakeLists.txt
index eb0aea5fca027..d4cf0f868a3d6 100644
--- a/clang/lib/Testing/CMakeLists.txt
+++ b/clang/lib/Testing/CMakeLists.txt
@@ -11,9 +11,13 @@ add_llvm_library(clangTesting
Support
)
-target_link_libraries(clangTesting
+clang_target_link_libraries(clangTesting
PRIVATE
- llvm_gtest
clangBasic
clangFrontend
)
+
+target_link_libraries(clangTesting
+ PRIVATE
+ llvm_gtest
+ )
More information about the cfe-commits
mailing list