llvm-6502/tools/llvm-lto/CMakeLists.txt
Sanjay Patel 5d42ddcd1e add missing dependency on Target lib for tools
This was exposed by r238842 (which was reverted by r238900)
when doing a CMake build with -DBUILD_SHARED_LIBS=ON.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238953 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-03 19:07:51 +00:00

13 lines
130 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
LTO
MC
Support
Target
)
add_llvm_tool(llvm-lto
llvm-lto.cpp
)