diff options
Diffstat (limited to 'tools/llvm-ld')
-rw-r--r-- | tools/llvm-ld/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/llvm-ld/CMakeLists.txt b/tools/llvm-ld/CMakeLists.txt index 2ae4a1d..8fba66b 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 + ) |