[CMake] verify-uselistorder depends on intrinsics_gen
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:30:58 +0000 (23:30 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 23:30:58 +0000 (23:30 +0000)
verify-uselistorder.cpp has the following include chain:

llvm/Bitcode/BitcodeReader.h
llvm/IR/ModuleSummaryIndex.h
llvm/IR/Module.h
llvm/IR/Function.h
llvm/IR/Argument.h
llvm/IR/Attributes.h
llvm/IR/Attributes.gen

This means verify-uselistorder needs to depend on intrinsics_gen.

llvm-svn: 287405

llvm/tools/verify-uselistorder/CMakeLists.txt

index 260a95a..74f7195 100644 (file)
@@ -9,4 +9,7 @@ set(LLVM_LINK_COMPONENTS
 
 add_llvm_tool(verify-uselistorder
   verify-uselistorder.cpp
+
+  DEPENDS
+  intrinsics_gen
   )