projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."
[oota-llvm.git]
/
tools
/
llvm-ld
/
CMakeLists.txt
diff --git
a/tools/llvm-ld/CMakeLists.txt
b/tools/llvm-ld/CMakeLists.txt
index 8fba66b9755ed1955413a630f6375ee57dc8c5fa..2ae4a1dba386da212cec352e031d98a0fb8e50e2 100644
(file)
--- a/
tools/llvm-ld/CMakeLists.txt
+++ b/
tools/llvm-ld/CMakeLists.txt
@@
-1,12
+1,6
@@
+set(LLVM_LINK_COMPONENTS ipo scalaropts linker archive bitwriter)
+
add_llvm_tool(llvm-ld
Optimize.cpp
llvm-ld.cpp
)
-
-target_link_libraries(llvm-ld
- LLVMipo
- LLVMScalarOpts
- LLVMLinker
- LLVMArchive
- LLVMBitWriter
- )