[clang-tools-extra] r371706 - [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 20:10:57 PDT 2019


Author: aheejin
Date: Wed Sep 11 20:10:57 2019
New Revision: 371706

URL: http://llvm.org/viewvc/llvm-project?rev=371706&view=rev
Log:
[clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON

Summary: This fixes build failures with `-DBUILD_SHARED_LIB=ON` after D67419.

Reviewers: NoQ

Subscribers: mgorny, xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67473

Modified:
    clang-tools-extra/trunk/clang-tidy/CMakeLists.txt

Modified: clang-tools-extra/trunk/clang-tidy/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/CMakeLists.txt?rev=371706&r1=371705&r2=371706&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clang-tidy/CMakeLists.txt Wed Sep 11 20:10:57 2019
@@ -16,6 +16,7 @@ add_clang_library(clangTidy
   ClangSACheckers
 
   LINK_LIBS
+  clangAnalysis
   clangAST
   clangASTMatchers
   clangBasic




More information about the cfe-commits mailing list