[python bindings] Added code to get the length of a memory buffer. Tests are included.
[oota-llvm.git] / tools / llc / CMakeLists.txt
index 798578e7bb77fd9a79afdf4c6bb482d0ad1a9ceb..e5a5550e9ea6bd60fc5052c202e29bc5f2ce27ff 100644 (file)
@@ -1,6 +1,5 @@
+set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser irreader)
+
 add_llvm_tool(llc
   llc.cpp
   )
-
-add_llvm_link_components(llc all)
-target_link_libraries(llc LLVMBitReader LLVMAsmParser)