[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.

llvm-svn: 287430
This commit is contained in:
Chris Bieneman 2016-11-19 02:33:57 +00:00
parent 4e826e0986
commit 1bc4fab8cd
1 changed files with 3 additions and 0 deletions
llvm/tools/llvm-extract

View File

@ -8,4 +8,7 @@ set(LLVM_LINK_COMPONENTS
add_llvm_tool(llvm-extract
llvm-extract.cpp
DEPENDS
intrinsics_gen
)