summaryrefslogtreecommitdiff
path: root/lib/Serialization/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-12-09 19:04:43 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-12-09 19:04:43 +0000
commit921fa378cc3c9a15746ea509447c97e2a1f84390 (patch)
tree7b6fa9042cec3504ca6b1ea17a8aecd123a2ead9 /lib/Serialization/CMakeLists.txt
parent6b4f43651522697cf3f1ace40c41940d3cc3af5e (diff)
downloadclang-921fa378cc3c9a15746ea509447c97e2a1f84390.tar.gz
[CMake] clang/lib: Satisfy dependencies to add *actually used* libraries on target_link_libraries() and LLVM_LINK_COMPONENTS.
I will prune redundant dependencies later. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/CMakeLists.txt')
-rw-r--r--lib/Serialization/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Serialization/CMakeLists.txt b/lib/Serialization/CMakeLists.txt
index 3c68b64625..13c2f3759b 100644
--- a/lib/Serialization/CMakeLists.txt
+++ b/lib/Serialization/CMakeLists.txt
@@ -1,4 +1,8 @@
-set(LLVM_LINK_COMPONENTS bitreader)
+set(LLVM_LINK_COMPONENTS
+ BitReader
+ Support
+ )
+
add_clang_library(clangSerialization
ASTCommon.h
@@ -32,5 +36,8 @@ add_dependencies(clangSerialization
)
target_link_libraries(clangSerialization
+ clangAST
+ clangBasic
+ clangLex
clangSema
)