From: Chris Bieneman Date: Fri, 18 Nov 2016 23:20:35 +0000 (+0000) Subject: [CMake] llvm-lto depends on intrinsics_gen X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26df11770edeac4f999a5e05cd6492e9e537c01f;p=platform%2Fupstream%2Fllvm.git [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 --- 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 )