From: Chris Bieneman Date: Sat, 19 Nov 2016 03:16:33 +0000 (+0000) Subject: [CMake] llvm-nm depends on intrinsics_gen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=252aa32d02d4e85edcbc3d961ab182cbfd9f7578;p=llvm [CMake] llvm-nm depends on intrinsics_gen llvm-nm.cpp has the following include chain: llvm/IR/Function.h llvm/IR/Argument.h llvm/IR/Attributes.h llvm/IR/Attributes.gen This means llvm-nm needs to depend on intrinsics_gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287432 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-nm/CMakeLists.txt b/tools/llvm-nm/CMakeLists.txt index 22b7bd3e35e..10019562565 100644 --- a/tools/llvm-nm/CMakeLists.txt +++ b/tools/llvm-nm/CMakeLists.txt @@ -9,4 +9,7 @@ set(LLVM_LINK_COMPONENTS add_llvm_tool(llvm-nm llvm-nm.cpp + + DEPENDS + intrinsics_gen )