[cfe-commits] r168172 - in /cfe/trunk/lib: ASTMatchers/CMakeLists.txt Rewrite/Frontend/CMakeLists.txt
Benjamin Kramer
benny.kra at googlemail.com
Fri Nov 16 09:30:58 PST 2012
Author: d0k
Date: Fri Nov 16 11:30:58 2012
New Revision: 168172
URL: http://llvm.org/viewvc/llvm-project?rev=168172&view=rev
Log:
Make libASTMatchers link its dependencies. libRewriteFrontend depends on libRewriteCore.
LLVM_USED_LIBS does nothing here.
Modified:
cfe/trunk/lib/ASTMatchers/CMakeLists.txt
cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt
Modified: cfe/trunk/lib/ASTMatchers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/ASTMatchers/CMakeLists.txt?rev=168172&r1=168171&r2=168172&view=diff
==============================================================================
--- cfe/trunk/lib/ASTMatchers/CMakeLists.txt (original)
+++ cfe/trunk/lib/ASTMatchers/CMakeLists.txt Fri Nov 16 11:30:58 2012
@@ -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 @@
ClangDiagnosticCommon
ClangStmtNodes
)
+
+target_link_libraries(clangASTMatchers
+ clangBasic
+ clangAST
+ )
Modified: cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt?rev=168172&r1=168171&r2=168172&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt (original)
+++ cfe/trunk/lib/Rewrite/Frontend/CMakeLists.txt Fri Nov 16 11:30:58 2012
@@ -25,4 +25,5 @@
clangAST
clangParse
clangFrontend
+ clangRewriteCore
)
More information about the cfe-commits
mailing list