]> granicus.if.org Git - clang/commitdiff
[analyzer] Unbreak building of SymbolReaperTest true BUILD_SHARED_LIBS=True
authorAlex Bradbury <asb@lowrisc.org>
Fri, 18 Jan 2019 10:13:07 +0000 (10:13 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Fri, 18 Jan 2019 10:13:07 +0000 (10:13 +0000)
Extra dependencies need to be listed for StaticAnalysisTests in order for
linking to succeed when BUILD_SHARED_LIBS=True.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351540 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/StaticAnalyzer/CMakeLists.txt

index 8afc670f89c00de1ab615e69cc7f3b092ef84393..000c9aea94fb46fbe6089fafffa93d2c8e69982c 100644 (file)
@@ -12,6 +12,9 @@ target_link_libraries(StaticAnalysisTests
   PRIVATE
   clangBasic
   clangAnalysis
+  clangAST
+  clangASTMatchers
+  clangCrossTU
   clangFrontend
   clangSerialization
   clangStaticAnalyzerCore