]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-lto depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:20:35 +0000 (23:20 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:20:35 +0000 (23:20 +0000)
llvm-lto.cpp has the following include chain:

llvm/Bitcode/BitcodeReader.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-lto needs to depend on intrinsics_gen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287398 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-lto/CMakeLists.txt

index de888a74c530befe87f0b36803ed5aaf706440f7..f0b385b7993d210d86bc4880a254cc46525ce191 100644 (file)
@@ -13,5 +13,8 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-lto
   llvm-lto.cpp
+
+  DEPENDS
+  intrinsics_gen
   )