X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fopt%2FCMakeLists.txt;h=91959119e4911947e8a3520b51614be11e05dd05;hb=55ec2218c448ef9e0d09b5534885b6d2a9786a73;hp=efcca80ddfc21bbb0c45b5c76c418857f2abb891;hpb=3d01fc7de86c75926e4e5ac7cc49f0116018893d;p=oota-llvm.git diff --git a/tools/opt/CMakeLists.txt b/tools/opt/CMakeLists.txt index efcca80ddfc..91959119e49 100644 --- a/tools/opt/CMakeLists.txt +++ b/tools/opt/CMakeLists.txt @@ -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)