[mips] Modify long branch for NaCl:
[oota-llvm.git] / tools / llvm-mc / CMakeLists.txt
index ea987dbc16767e09a57eb951c41fae268da82bd9..6f8e9e5405f9f004bc7af0967dd3aad04340187d 100644 (file)
@@ -1,7 +1,11 @@
+set(LLVM_LINK_COMPONENTS
+  ${LLVM_TARGETS_TO_BUILD}
+  MC
+  MCParser
+  Support
+  )
+
 add_llvm_tool(llvm-mc
   llvm-mc.cpp
   Disassembler.cpp
   )
-
-add_llvm_link_components(llvm-mc all)
-target_link_libraries(llvm-mc LLVMMC LLVMMCParser LLVMMCDisassembler)