diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-26 06:41:29 +0000 |
commit | 53c3f9fc6576668d0479016eca1077122a02c4b4 (patch) | |
tree | 69a78ce76d1c4b9d81ebddcc2c25d562366d7d7d /lib/Rewrite | |
parent | 7c0d9a7169a6443da5073d4c6d20c8c2c11d1dd0 (diff) |
[CMake] Use LINK_LIBS instead of target_link_libraries().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite')
-rw-r--r-- | lib/Rewrite/Core/CMakeLists.txt | 3 | ||||
-rw-r--r-- | lib/Rewrite/Frontend/CMakeLists.txt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/Rewrite/Core/CMakeLists.txt b/lib/Rewrite/Core/CMakeLists.txt index 6e9505fd9f..896382c36d 100644 --- a/lib/Rewrite/Core/CMakeLists.txt +++ b/lib/Rewrite/Core/CMakeLists.txt @@ -8,9 +8,8 @@ add_clang_library(clangRewriteCore RewriteRope.cpp Rewriter.cpp TokenRewriter.cpp - ) -target_link_libraries(clangRewriteCore + LINK_LIBS clangAST clangBasic clangLex diff --git a/lib/Rewrite/Frontend/CMakeLists.txt b/lib/Rewrite/Frontend/CMakeLists.txt index c1146181f3..85af97d343 100644 --- a/lib/Rewrite/Frontend/CMakeLists.txt +++ b/lib/Rewrite/Frontend/CMakeLists.txt @@ -11,9 +11,8 @@ add_clang_library(clangRewriteFrontend RewriteModernObjC.cpp RewriteObjC.cpp RewriteTest.cpp - ) -target_link_libraries(clangRewriteFrontend + LINK_LIBS clangAST clangBasic clangEdit |