Skip to content

Standardize looking for tool chain alternatives

Add find_tool() to CMake, which allows us to look for tool chain variants of programs in a standardized way when doing cross-compliation.

The order in which tools are found before base variants is similar to autoconf's AC_CHECK_TOOLS().

Note that the first commit in this merge request will reintroduce the issue that was fixed in c7bd2d0d, but hopefully we can find a more robust way of fixing that.

Merge request reports