Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[linux] Fix compiler in native ARM host builds (#38113)
#35084 introduced a regression for native ARM Linux builds where the toolchain would mistakenly try to reference a cross-compiler (e.g. `aarch64-linux-gnu-gcc`) despite building natively because vcpkg spells the architecture differently from what the system reports (`arm64` vs. `aarch64`). This fixes the issue by checking whether the `CMAKE_HOST_SYSTEM_PROCESSOR` matches the target (in CMake's spelling of the architecture). --------- Co-authored-by: Kai Pastor <[email protected]>
- Loading branch information