llvm/tools/llvm-extract/CMakeLists.txt
Chris Bieneman 4339d8bd93 [CMake] llvm-extract depends on intrinsics_gen
llvm-extract.cpp has the following include chain:

llvm/Bitcode/BitcodeWriterPass.h
llvm/IR/PassManager.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-extract needs to depend on intrinsics_gen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287430 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-19 02:33:57 +00:00

15 lines
154 B
CMake

set(LLVM_LINK_COMPONENTS
BitWriter
Core
IPO
IRReader
Support
)
add_llvm_tool(llvm-extract
llvm-extract.cpp
DEPENDS
intrinsics_gen
)