Use the toolchain files by passing something like `-D CMAKE_TOOLCHAIN_FILE=PATH/TO/cmake-common/toolchains/cmake/TOOLCHAIN.cmake` to `cmake`.