mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 20:56:48 +00:00

Do not call `mlir_target_link_libraries()` when there are no `MLIR_LIBS` specified. This fixes a failure when `flang/runtime` is being built standalone, as it does not use MLIR and therefore the function is not defined: https://lab.llvm.org/buildbot/#/builders/152/builds/932 Fixes 6a2cc122296b04a4f09768a714a74ffc82b7be87