From: Chris Bieneman Date: Sat, 19 Nov 2016 03:19:58 +0000 (+0000) Subject: [CMake] llvm-lto2 depends on intrinsics_gen X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=671a1279b6cc931db95fce351cacc9cf8d716b33;p=platform%2Fupstream%2Fllvm.git [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 --- 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 )