x86_64 macOS should also use its recommended target when building arm64 builds

This commit is contained in:
Nadia Holmquist Pedersen 2023-11-16 15:43:54 +01:00
parent d5f588f520
commit cee1b80b93
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ if (USE_RECOMMENDED_TRIPLETS)
else()
if (_WANTED_TRIPLET MATCHES "^x64-osx-")
set(_CAN_TARGET_AS_HOST ON)
elseif (_WANTED_TRIPLET STREQUAL "arm64-osx-11-release")
set(VCPKG_HOST_TRIPLET x64-osx-1015-release)
endif()
endif()
endif()