From dafc355eddd10d9adfc94be8dd06d1b961229e32 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 18 Nov 2016 23:04:27 +0000 Subject: [PATCH] [CMake] llvm-ar depends on intrinsics_gen llvm-ar.cpp has the following include chain: llvm/IR/Module.h llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means llvm-ar needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287395 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ar/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/llvm-ar/CMakeLists.txt b/tools/llvm-ar/CMakeLists.txt index 86233dfce9a..3bb0c8f7b7c 100644 --- a/tools/llvm-ar/CMakeLists.txt +++ b/tools/llvm-ar/CMakeLists.txt @@ -8,6 +8,9 @@ set(LLVM_LINK_COMPONENTS add_llvm_tool(llvm-ar llvm-ar.cpp + + DEPENDS + intrinsics_gen ) add_llvm_tool_symlink(llvm-ranlib llvm-ar) -- 2.50.1