[clang-tools-extra] 4fd0c14 - Link with missing libs to fix broken shared unittest build

Jun Zhang via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 09:12:03 PST 2022


Author: Jun Zhang
Date: 2022-12-03T01:10:13+08:00
New Revision: 4fd0c14a17f91fb7b0d188b509eb3dbdfbfec01a

URL: https://github.com/llvm/llvm-project/commit/4fd0c14a17f91fb7b0d188b509eb3dbdfbfec01a
DIFF: https://github.com/llvm/llvm-project/commit/4fd0c14a17f91fb7b0d188b509eb3dbdfbfec01a.diff

LOG: Link with missing libs to fix broken shared unittest build

Oops, I think we should link with this as well.

Signed-off-by: Jun Zhang <jun at junz.org>

Added: 
    

Modified: 
    clang-tools-extra/include-cleaner/unittests/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/include-cleaner/unittests/CMakeLists.txt b/clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
index d911b5df70c50..e5a4180a53e31 100644
--- a/clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
+++ b/clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
@@ -22,6 +22,7 @@ clang_target_link_libraries(ClangIncludeCleanerTests
   clangAST
   clangBasic
   clangFrontend
+  clangFormat
   clangLex
   clangToolingInclusionsStdlib
   )


        


More information about the cfe-commits mailing list