From 60671a802527f80d935056bbd6d994409e93bb20 Mon Sep 17 00:00:00 2001 From: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:38:22 +0800 Subject: [PATCH] toolchains: Restore original intention of CMAKE_CROSSCOMPILING --- scripts/toolchains/osx.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/toolchains/osx.cmake b/scripts/toolchains/osx.cmake index 2989588b15d070..6b37425d15e0e9 100644 --- a/scripts/toolchains/osx.cmake +++ b/scripts/toolchains/osx.cmake @@ -44,9 +44,6 @@ if(NOT _VCPKG_OSX_TOOLCHAIN) if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin") if(CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR) set(CMAKE_CROSSCOMPILING OFF CACHE STRING "") - elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "ARM64") - # arm64 macOS can run x64 binaries - set(CMAKE_CROSSCOMPILING OFF CACHE STRING "") endif() if(NOT DEFINED CMAKE_SYSTEM_VERSION)