From 367cf3c22c29a17fb76e26ceb8632d50218301c9 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Sat, 19 Nov 2016 03:18:50 +0000 Subject: [PATCH] [CMake] opt depends on intrinsics_gen AnalysisWrappers.cpp has the following include chain: llvm/Analysis/CallGraph.h llvm/IR/CallSite.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means opt needs to depend on intrinsics_gen. llvm-svn: 287433 --- llvm/tools/opt/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt index a362989..518396e 100644 --- a/llvm/tools/opt/CMakeLists.txt +++ b/llvm/tools/opt/CMakeLists.txt @@ -30,6 +30,9 @@ add_llvm_tool(opt PassPrinters.cpp PrintSCC.cpp opt.cpp + + DEPENDS + intrinsics_gen ) export_executable_symbols(opt) -- 2.7.4