Starting with CMake version 4.1.0, cross-configuring for macOS using the Ninja generator fails:
0$ cmake --version
1cmake version 4.1.0
2
3CMake suite maintained and supported by Kitware (kitware.com/cmake).
4$ gmake -j $(nproc) -C depends HOST=x86_64-apple-darwin NO_QT=1
5$ cmake -B build -G Ninja --toolchain depends/x86_64-apple-darwin/toolchain.cmake
6<snip>
7CMake Error at src/CMakeLists.txt:301 (add_executable):
8 The install of the bitcoind target requires changing an RPATH from the
9 build tree, but this is not supported with the Ninja generator unless on an
10 ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH
11 variable may be set to avoid this relinking step.
12
13
14<snip>