Use IRReader.h in opt, to support reading of LLVM Assembly files directly.
[oota-llvm.git] / tools / opt / CMakeLists.txt
index efcca80ddfc21bbb0c45b5c76c418857f2abb891..b75cda0e128bf3356f3e3c4a4a04cbedb08f5693 100644 (file)
@@ -1,5 +1,5 @@
 set(LLVM_REQUIRES_EH 1)
-set(LLVM_LINK_COMPONENTS bitreader bitwriter instrumentation scalaropts ipo)
+set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo)
 
 add_llvm_tool(opt
   AnalysisWrappers.cpp