diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
commit | b0d8671f95fe08a220118bca29063ba4d11a9dac (patch) | |
tree | cab72330a29dcc55d7c6f27692624f3e70469bd5 /lib/ARCMigrate | |
parent | 7d96f6106bfbd85b1af06f34fdbf2834aad0e47e (diff) |
Remove a goofy CMake hack and use the standard CMake facilities to
express library-level dependencies within Clang.
This is no more verbose really, and plays nicer with the rest of the
CMake facilities. It should also have no change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate')
-rw-r--r-- | lib/ARCMigrate/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/ARCMigrate/CMakeLists.txt b/lib/ARCMigrate/CMakeLists.txt index fcb7f72ee2..6527e0fdfc 100644 --- a/lib/ARCMigrate/CMakeLists.txt +++ b/lib/ARCMigrate/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_USED_LIBS clangBasic clangAST clangParse clangFrontend clangRewrite) - add_clang_library(clangARCMigrate ARCMT.cpp ARCMTActions.cpp @@ -27,3 +25,11 @@ add_dependencies(clangARCMigrate ClangAttrList ClangDeclNodes ClangStmtNodes) + +target_link_libraries(clangARCMigrate + clangBasic + clangAST + clangParse + clangFrontend + clangRewrite + ) |