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

tools/llvm-link/CMakeLists.txt

index f69df95947d957d598d045a978963448510b086f..5aae69b4ca0b1b7c73495e349e579511ee548318 100644 (file)
@@ -10,4 +10,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-link
   llvm-link.cpp
+
+  DEPENDS
+  intrinsics_gen
   )