From 26df11770edeac4f999a5e05cd6492e9e537c01f Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 18 Nov 2016 23:20:35 +0000 Subject: [PATCH] [CMake] llvm-lto depends on intrinsics_gen 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. llvm-svn: 287398 --- llvm/tools/llvm-lto/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/tools/llvm-lto/CMakeLists.txt b/llvm/tools/llvm-lto/CMakeLists.txt index de888a7..f0b385b 100644 --- a/llvm/tools/llvm-lto/CMakeLists.txt +++ b/llvm/tools/llvm-lto/CMakeLists.txt @@ -13,5 +13,8 @@ set(LLVM_LINK_COMPONENTS add_llvm_tool(llvm-lto llvm-lto.cpp + + DEPENDS + intrinsics_gen ) -- 2.7.4