blob: 4a22427486d716502444e6e92d21e3fdb76f2fe9 [file] [log] [blame]
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
set(LIBS
FIROptimizer
${dialect_libs}
MLIRIR
MLIRLLVMIR
MLIRPass
MLIRStandardToLLVM
MLIRTransforms
MLIRAffineToStandard
MLIRAnalysis
MLIRSCFToStandard
MLIRParser
MLIRStandardToLLVM
MLIRSupport
MLIRVectorToLLVM
)
add_flang_tool(tco tco.cpp)
target_link_libraries(tco PRIVATE ${LIBS})