llvm-project/flang/tools/fir-opt/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
343 B
CMake
Raw Normal View History

add_flang_tool(fir-opt fir-opt.cpp)
llvm_update_compile_flags(fir-opt)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
target_link_libraries(fir-opt PRIVATE
FIROptimizer
${dialect_libs}
# TODO: these should be transitive dependencies from a target providing
# "registerFIRPasses()"
MLIRAffineToStandard
MLIROptLib
)