1 add_flang_tool(fir-opt fir-opt.cpp)
2 llvm_update_compile_flags(fir-opt)
3 get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
4 get_property(extension_libs GLOBAL PROPERTY MLIR_EXTENSION_LIBS)
6 if(FLANG_INCLUDE_TESTS)
13 target_link_libraries(fir-opt PRIVATE
25 # TODO: these should be transitive dependencies from a target providing
26 # "registerFIRPasses()"