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

llvm-svn: 287431

llvm/tools/llvm-link/CMakeLists.txt

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