From 4e9c939312ff73bd0c6a6485fd5f97012f5910fa Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 10 Sep 2010 21:14:25 +0000 Subject: CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ld/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tools/llvm-ld/CMakeLists.txt') diff --git a/tools/llvm-ld/CMakeLists.txt b/tools/llvm-ld/CMakeLists.txt index 2ae4a1dba3..8fba66b975 100644 --- a/tools/llvm-ld/CMakeLists.txt +++ b/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 + ) -- cgit v1.2.3