r335791 - [analyzer] Add clangFrontend to target_link_libraries

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 27 15:05:09 PDT 2018


Author: aheejin
Date: Wed Jun 27 15:05:09 2018
New Revision: 335791

URL: http://llvm.org/viewvc/llvm-project?rev=335791&view=rev
Log:
[analyzer] Add clangFrontend to target_link_libraries

Without this, builds with `-DSHARED_LIB=ON` fail.

Modified:
    cfe/trunk/unittests/StaticAnalyzer/CMakeLists.txt

Modified: cfe/trunk/unittests/StaticAnalyzer/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/StaticAnalyzer/CMakeLists.txt?rev=335791&r1=335790&r2=335791&view=diff
==============================================================================
--- cfe/trunk/unittests/StaticAnalyzer/CMakeLists.txt (original)
+++ cfe/trunk/unittests/StaticAnalyzer/CMakeLists.txt Wed Jun 27 15:05:09 2018
@@ -11,6 +11,7 @@ target_link_libraries(StaticAnalysisTest
   PRIVATE
   clangBasic
   clangAnalysis
+  clangFrontend
   clangStaticAnalyzerCore
   clangStaticAnalyzerFrontend
   clangTooling




More information about the cfe-commits mailing list