llvm/flang/lib/Optimizer/Dialect/Support/CMakeLists.txt

get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)

add_flang_library(FIRDialectSupport
  KindMapping.cpp
  FIRContext.cpp

  DEPENDS
  MLIRIR
  intrinsics_gen

  LINK_LIBS
  ${dialect_libs}
)