cross-compilation: add_custom_command breaks with CMAKE_CROSSCOMPILING_EMULATOR and (IMPORTED or BUILT) targets in COMMAND.
See #16288 (closed)
...only tested the built target fix (haven't tested the IMPORTED target).
See #16288 (closed)
...only tested the built target fix (haven't tested the IMPORTED target).