summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/ASTMatchers/CMakeLists.txt6
-rw-r--r--clang/lib/Rewrite/Frontend/CMakeLists.txt1
2 files changed, 6 insertions, 1 deletions
diff --git a/clang/lib/ASTMatchers/CMakeLists.txt b/clang/lib/ASTMatchers/CMakeLists.txt
index 8fc7d4b208e..86560d61c9d 100644
--- a/clang/lib/ASTMatchers/CMakeLists.txt
+++ b/clang/lib/ASTMatchers/CMakeLists.txt
@@ -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
+ )
diff --git a/clang/lib/Rewrite/Frontend/CMakeLists.txt b/clang/lib/Rewrite/Frontend/CMakeLists.txt
index 9017e479ab7..903a3ef8d50 100644
--- a/clang/lib/Rewrite/Frontend/CMakeLists.txt
+++ b/clang/lib/Rewrite/Frontend/CMakeLists.txt
@@ -25,4 +25,5 @@ target_link_libraries(clangRewriteFrontend
clangAST
clangParse
clangFrontend
+ clangRewriteCore
)
OpenPOWER on IntegriCloud