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

llvm/LTO/Caching.h
llvm/LTO/LTO.h
llvm/CodeGen/Analysis.h
llvm/IR/CallSite.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means llvm-lto2 needs to depend on intrinsics_gen.

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

tools/llvm-lto2/CMakeLists.txt

index 17888b26c5c503dfbef86c3237e5d30595c00f52..cdd97c9fef5c64840674fe2fbdf5d901170b891a 100644 (file)
@@ -11,4 +11,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-lto2
   llvm-lto2.cpp
+
+  DEPENDS
+  intrinsics_gen
   )