From: Chris Bieneman Date: Sat, 19 Nov 2016 02:20:59 +0000 (+0000) Subject: [CMake] bugpoint-passes depends on intrinsics_gen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=801fb8c030e311ee158f3598cccec2dc7cb68cb8;p=llvm [CMake] bugpoint-passes depends on intrinsics_gen 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 --- diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt index de68bb5d31d..e32b0a3aa34 100644 --- a/tools/bugpoint-passes/CMakeLists.txt +++ b/tools/bugpoint-passes/CMakeLists.txt @@ -16,6 +16,8 @@ endif() add_llvm_loadable_module( BugpointPasses TestPasses.cpp - ) -add_dependencies(BugpointPasses bugpoint) + DEPENDS + intrinsics_gen + bugpoint + )