Typo.
[oota-llvm.git] / tools / opt / CMakeLists.txt
index b75cda0e128bf3356f3e3c4a4a04cbedb08f5693..91959119e4911947e8a3520b51614be11e05dd05 100644 (file)
@@ -1,5 +1,4 @@
-set(LLVM_REQUIRES_EH 1)
-set(LLVM_LINK_COMPONENTS bitreader asmparser 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)