bolt_rt build uses ExternalProject_Add but it doesn't passthrough all necessary CMake variables such as CMAKE_SYROOT which can break the build when cross-compiling. It also results in the artifacts being installed in a wrong location when CMAKE_INSTALL_PREFIX and DESTDIR is being used.
bolt_rt build uses
ExternalProject_Add
but it doesn't passthrough all necessary CMake variables such asCMAKE_SYROOT
which can break the build when cross-compiling. It also results in the artifacts being installed in a wrong location whenCMAKE_INSTALL_PREFIX
andDESTDIR
is being used.