summaryrefslogtreecommitdiff
path: root/tools/llvm-ar
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-11-18 23:04:27 +0000
committerChris Bieneman <beanz@apple.com>2016-11-18 23:04:27 +0000
commitdafc355eddd10d9adfc94be8dd06d1b961229e32 (patch)
tree657f2f65a8ce40ceaaa72dfc178b3e436b507db1 /tools/llvm-ar
parent435a2cfb4e84561ca332831c3f9596cfd18ef926 (diff)
[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
Diffstat (limited to 'tools/llvm-ar')
-rw-r--r--tools/llvm-ar/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)