commit | 0c638ab59782fd5210255674f3456d0400ee0223 | [log] [tgz] |
---|---|---|
author | Matteo Martelli <matteomartelli3@gmail.com> | Fri Sep 02 17:50:18 2022 +0200 |
committer | Brad King <brad.king@kitware.com> | Tue Sep 06 09:49:54 2022 -0400 |
tree | d06778a6142e064cf047f139c6a9c06dba78896b | |
parent | 01e95efc34a2a9bcf9910d65d3b38ff9b8a51750 [diff] |
CPack: re-use paths of tools discovered by CMakeFindBinUtils `CMakeFindBinUtils.cmake` sets `CMAKE_<TOOL>` variables that in cross-compilation environments point to the toolchain specific executables: e.g. `CMAKE_OBJCOPY` might point to `<path_to_toolchain>/arm-poky-linux-gnueabi-objcopy`. Pass this information to CPack.