[CMake] llvm-link depends on intrinsics_gen

llvm-link.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-link needs to depend on intrinsics_gen.

llvm-svn: 287431
This commit is contained in:
Chris Bieneman 2016-11-19 02:36:28 +00:00
parent 1bc4fab8cd
commit b2b18d2ada
1 changed files with 3 additions and 0 deletions
llvm/tools/llvm-link

View File

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