Typo.
[oota-llvm.git] / tools / opt / CMakeLists.txt
index efcca80ddfc21bbb0c45b5c76c418857f2abb891..91959119e4911947e8a3520b51614be11e05dd05 100644 (file)
@@ -1,5 +1,4 @@
-set(LLVM_REQUIRES_EH 1)
-set(LLVM_LINK_COMPONENTS bitreader bitwriter instrumentation scalaropts ipo)
+set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser bitwriter irreader instrumentation scalaropts objcarcopts ipo vectorize)
 
 add_llvm_tool(opt
   AnalysisWrappers.cpp
@@ -7,3 +6,4 @@ add_llvm_tool(opt
   PrintSCC.cpp
   opt.cpp
   )
+set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)