From cee1b80b937b2145ab53801ec1ae6ff9f9cdb039 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Thu, 16 Nov 2023 15:43:54 +0100 Subject: [PATCH] x86_64 macOS should also use its recommended target when building arm64 builds --- cmake/ConfigureVcpkg.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/ConfigureVcpkg.cmake b/cmake/ConfigureVcpkg.cmake index 16dc46ee..f7f7f62f 100644 --- a/cmake/ConfigureVcpkg.cmake +++ b/cmake/ConfigureVcpkg.cmake @@ -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()