From 671a1279b6cc931db95fce351cacc9cf8d716b33 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Sat, 19 Nov 2016 03:19:58 +0000 Subject: [PATCH] [CMake] llvm-lto2 depends on intrinsics_gen llvm-lto2.cpp has the following include chain: llvm/LTO/Caching.h llvm/LTO/LTO.h llvm/CodeGen/Analysis.h llvm/IR/CallSite.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means llvm-lto2 needs to depend on intrinsics_gen. llvm-svn: 287434 --- llvm/tools/llvm-lto2/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/tools/llvm-lto2/CMakeLists.txt b/llvm/tools/llvm-lto2/CMakeLists.txt index 17888b2..cdd97c9 100644 --- a/llvm/tools/llvm-lto2/CMakeLists.txt +++ b/llvm/tools/llvm-lto2/CMakeLists.txt @@ -11,4 +11,7 @@ set(LLVM_LINK_COMPONENTS add_llvm_tool(llvm-lto2 llvm-lto2.cpp + + DEPENDS + intrinsics_gen ) -- 2.7.4