[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.

llvm-svn: 287432

llvm/tools/llvm-nm/CMakeLists.txt

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