llvm/tools/llvm-lto/CMakeLists.txt
Chris Bieneman 456e0ea237 [CMake] llvm-lto depends on intrinsics_gen
llvm-lto.cpp has the following include chain:

llvm/Bitcode/BitcodeReader.h
llvm/IR/ModuleSummaryIndex.h
llvm/IR/Module.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-lto needs to depend on intrinsics_gen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287398 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-18 23:20:35 +00:00

21 lines
209 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
BitReader
BitWriter
Core
IRReader
LTO
MC
Object
Support
Target
)
add_llvm_tool(llvm-lto
llvm-lto.cpp
DEPENDS
intrinsics_gen
)