Skip to content

Commit

Permalink
[CMake] llvm-as depends on intrinsics_gen
Browse files Browse the repository at this point in the history
llvm-as.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-as needs to depend on intrinsics_gen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287423 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chris Bieneman committed Nov 19, 2016
1 parent 2e7d7fa commit 70a9767
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/llvm-as/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ set(LLVM_LINK_COMPONENTS

add_llvm_tool(llvm-as
llvm-as.cpp

DEPENDS
intrinsics_gen
)

0 comments on commit 70a9767

Please sign in to comment.