projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
[oota-llvm.git]
/
tools
/
llvm-ar
/
CMakeLists.txt
diff --git
a/tools/llvm-ar/CMakeLists.txt
b/tools/llvm-ar/CMakeLists.txt
index c8b0b725d83ccc6beecb7354f7593e7ca9f09c57..65ad36a470bb48aeb81cf44a50e2cc0fb1d9d5b4 100644
(file)
--- a/
tools/llvm-ar/CMakeLists.txt
+++ b/
tools/llvm-ar/CMakeLists.txt
@@
-1,8
+1,9
@@
-set(LLVM_LINK_COMPONENTS archive)
set(LLVM_REQUIRES_EH 1)
add_llvm_tool(llvm-ar
llvm-ar.cpp
)
+target_link_libraries(llvm-ar LLVMArchive)
+
# TODO: Support check-local.