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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Bieneman 2016-11-19 02:36:28 +00:00
parent 4339d8bd93
commit f11a790abc

View File

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