[PATCH] D67473: [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON

Heejin Ahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 16:56:49 PDT 2019


aheejin created this revision.
aheejin added a reviewer: NoQ.
Herald added subscribers: cfe-commits, xazax.hun, mgorny.
Herald added a project: clang.

This fixes build failures with `-DBUILD_SHARED_LIB=ON` after D67419 <https://reviews.llvm.org/D67419>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67473

Files:
  clang-tools-extra/clang-tidy/CMakeLists.txt


Index: clang-tools-extra/clang-tidy/CMakeLists.txt
===================================================================
--- clang-tools-extra/clang-tidy/CMakeLists.txt
+++ clang-tools-extra/clang-tidy/CMakeLists.txt
@@ -16,6 +16,7 @@
   ClangSACheckers
 
   LINK_LIBS
+  clangAnalysis
   clangAST
   clangASTMatchers
   clangBasic


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67473.219833.patch
Type: text/x-patch
Size: 330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190911/a198ad50/attachment.bin>


More information about the cfe-commits mailing list