[CMake] llvm-split depends on intrinsics_gen

llvm-split.cpp has the following include chain:

llvm/Bitcode/BitcodeWriter.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-split needs to depend on intrinsics_gen.

llvm-svn: 287399
This commit is contained in:
Chris Bieneman 2016-11-18 23:20:38 +00:00
parent 26df11770e
commit 93fa1860d1
1 changed files with 3 additions and 0 deletions

View File

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