]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-extract depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:33:57 +0000 (02:33 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:33:57 +0000 (02:33 +0000)
llvm-extract.cpp has the following include chain:

llvm/Bitcode/BitcodeWriterPass.h
llvm/IR/PassManager.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-extract needs to depend on intrinsics_gen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287430 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-extract/CMakeLists.txt

index c984f01034f8232754a6eee6ba64b77584bb8dd3..ce2a78d5d3865f2614e391308bcfb59109f2e175 100644 (file)
@@ -8,4 +8,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-extract
   llvm-extract.cpp
+
+  DEPENDS
+  intrinsics_gen
   )