Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure_make: use CMAKE_C_COMPILER_TARGET to detect cross-compilation
Currently, the only way to cross-compile using vcpkg_configure_make is to use a gcc cross toolchain with the target as the prefix. This is not how you cross compile with clang--with clang you set CMAKE_<LANG>_COMPILER_TARGET. This detects this from the toolchain file and passes it along
- Loading branch information