[CMake] lli depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:05:19 +0000 (02:05 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 02:05:19 +0000 (02:05 +0000)
ChildTarget.cpp has the following include chain:

llvm/ExecutionEngine/Orc/OrcABISupport.h
llvm/ExecutionEngine/Orc/IndirectionUtils.h
llvm/IR/IRBuilder.h
llvm/IR/ConstantFolder.h
llvm/IR/InstrTypes.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means lli needs to depend on intrinsics_gen.

llvm-svn: 287420

llvm/tools/lli/CMakeLists.txt

index 2bdd066..1ecbfff 100644 (file)
@@ -40,5 +40,8 @@ endif( LLVM_USE_INTEL_JITEVENTS )
 add_llvm_tool(lli
   lli.cpp
   OrcLazyJIT.cpp
+
+  DEPENDS
+  intrinsics_gen
   )
 export_executable_symbols(lli)