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

llvm/IR/InstVisitor.h
llvm/IR/CallSite.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means bugpoint-passes needs to depend on intrinsics_gen.

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

tools/bugpoint-passes/CMakeLists.txt

index de68bb5d31dde5514e99a9858eb5fa2d1b4aeafc..e32b0a3aa34f3be8917523c4fd010ccb7e7b9c26 100644 (file)
@@ -16,6 +16,8 @@ endif()
 
 add_llvm_loadable_module( BugpointPasses
   TestPasses.cpp
-  )
 
-add_dependencies(BugpointPasses bugpoint)
+  DEPENDS
+  intrinsics_gen
+  bugpoint
+  )