]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-diff depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:28:18 +0000 (02:28 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:28:18 +0000 (02:28 +0000)
llvm-diff.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-diff needs to depend on intrinsics_gen.

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

tools/llvm-diff/CMakeLists.txt

index 4407a86c1519727a5788c0ad15ccae00e704afcd..703ed97cb0b01dd9b4c77a24e6f77f8e1dcd73f9 100644 (file)
@@ -9,4 +9,7 @@ add_llvm_tool(llvm-diff
   DiffConsumer.cpp
   DiffLog.cpp
   DifferenceEngine.cpp
+
+  DEPENDS
+  intrinsics_gen
   )