summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
commitdc38d36ccb5b8274fb94701866ca5b39686ba125 (patch)
tree4d23f24aaef2fb4b486b2882a5c5340a4c3c773c /llvm/tools/llvm-ld
parent0881f4a367de8fc0ac7e1db44eca833171e655e2 (diff)
downloadbcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.tar.gz
bcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.zip
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
llvm-svn: 113632
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r--llvm/tools/llvm-ld/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/tools/llvm-ld/CMakeLists.txt b/llvm/tools/llvm-ld/CMakeLists.txt
index 2ae4a1dba38..8fba66b9755 100644
--- a/llvm/tools/llvm-ld/CMakeLists.txt
+++ b/llvm/tools/llvm-ld/CMakeLists.txt
@@ -1,6 +1,12 @@
-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
+ )
OpenPOWER on IntegriCloud