diff options
Diffstat (limited to 'tools/opt/CMakeLists.txt')
-rw-r--r-- | tools/opt/CMakeLists.txt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/opt/CMakeLists.txt b/tools/opt/CMakeLists.txt index 5eff9d8..0570d0e 100644 --- a/tools/opt/CMakeLists.txt +++ b/tools/opt/CMakeLists.txt @@ -1,15 +1,8 @@ +set(LLVM_LINK_COMPONENTS bitreader asmparser bitwriter instrumentation scalaropts ipo) + add_llvm_tool(opt AnalysisWrappers.cpp GraphPrinters.cpp PrintSCC.cpp opt.cpp ) - -target_link_libraries(opt - LLVMBitReader - LLVMAsmParser - LLVMBitWriter - LLVMInstrumentation - LLVMScalarOpts - LLVMipo - ) |