Make libASTMatchers link its dependencies. libRewriteFrontend depends on libRewriteCore.

LLVM_USED_LIBS does nothing here.

llvm-svn: 168172
This commit is contained in:
Benjamin Kramer 2012-11-16 17:30:58 +00:00
parent 0ff86ac8a6
commit d6e8a7964d
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,4 @@
set(LLVM_LINK_COMPONENTS support)
set(LLVM_USED_LIBS clangBasic clangAST)
add_clang_library(clangASTMatchers
ASTMatchFinder.cpp
@ -15,3 +14,8 @@ add_dependencies(clangASTMatchers
ClangDiagnosticCommon
ClangStmtNodes
)
target_link_libraries(clangASTMatchers
clangBasic
clangAST
)

View File

@ -25,4 +25,5 @@ target_link_libraries(clangRewriteFrontend
clangAST
clangParse
clangFrontend
clangRewriteCore
)