Michał Górny 532e639ec6 [flang] [cmake] Call mlir_target_link_libraries() only with MLIR_LIBS
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
2025-01-16 15:02:44 +01:00
..