]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-as depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:15:04 +0000 (02:15 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:15:04 +0000 (02:15 +0000)
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

tools/llvm-as/CMakeLists.txt

index 1b2789a4de41fa2781aaba4517cc257650c9179b..3a157a3d4098a16129af5dd2b7a856bc6f97fa99 100644 (file)
@@ -7,4 +7,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-as
   llvm-as.cpp
+
+  DEPENDS
+  intrinsics_gen
   )