dwarfdump: Add some error handling for DWP index sections of the wrong size
[oota-llvm.git] / tools / yaml2obj / CMakeLists.txt
index 8d9d6522469db39a411447bda0a85d56eaea5641..52e9df4d766ae15fdf36d9e25e65b4e123ea6348 100644 (file)
@@ -1,9 +1,11 @@
-set(LLVM_LINK_COMPONENTS object)
+set(LLVM_LINK_COMPONENTS
+  MC
+  Object
+  Support
+  )
 
-add_llvm_utility(yaml2obj
+add_llvm_tool(yaml2obj
   yaml2obj.cpp
   yaml2coff.cpp
   yaml2elf.cpp
   )
-
-target_link_libraries(yaml2obj LLVMSupport)