From: Chris Bieneman Date: Fri, 18 Nov 2016 23:30:39 +0000 (+0000) Subject: [CMake] sanstats depends on intrinsics_gen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ed355301c391ff25c13d81bddb40c5bd19ccfc9;p=llvm [CMake] sanstats depends on intrinsics_gen sanstats.cpp has the following include chain: llvm/Transforms/Utils/SanitizerStats.h llvm/IR/IRBuilder.h llvm/IR/ConstantFolder.h llvm/IR/InstrTypes.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means sanstats needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287404 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/sanstats/CMakeLists.txt b/tools/sanstats/CMakeLists.txt index abfbdab3a04..198f6692531 100644 --- a/tools/sanstats/CMakeLists.txt +++ b/tools/sanstats/CMakeLists.txt @@ -5,4 +5,7 @@ set(LLVM_LINK_COMPONENTS add_llvm_tool(sanstats sanstats.cpp + + DEPENDS + intrinsics_gen )