[CMake] opt depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 03:18:50 +0000 (03:18 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 03:18:50 +0000 (03:18 +0000)
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

index a362989..518396e 100644 (file)
@@ -30,6 +30,9 @@ add_llvm_tool(opt
   PassPrinters.cpp
   PrintSCC.cpp
   opt.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(opt)