1CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN 2---------------------------------------- 3 4The external toolchain for cross-compiling, if supported. 5 6Some compiler toolchains do not ship their own auxiliary utilities such as 7archivers and linkers. The compiler driver may support a command-line argument 8to specify the location of such tools. 9``CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN`` may be set to a path to 10the external toolchain and will be passed to the compiler driver if supported. 11 12This variable may only be set in a toolchain file specified by 13the :variable:`CMAKE_TOOLCHAIN_FILE` variable. 14