]> granicus.if.org Git - llvm/commitdiff
[CMake] llvm-nm depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 03:16:33 +0000 (03:16 +0000)
committerChris Bieneman <beanz@apple.com>
Sat, 19 Nov 2016 03:16:33 +0000 (03:16 +0000)
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

tools/llvm-nm/CMakeLists.txt

index 22b7bd3e35e9c0949d11c80ef43fe1222ff9d20a..10019562565d850d4e27a0dc1526296cd9e45795 100644 (file)
@@ -9,4 +9,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(llvm-nm
   llvm-nm.cpp
+
+  DEPENDS
+  intrinsics_gen
   )