x86_64 macOS should also use its recommended target when building arm64 builds
This commit is contained in:
parent
d5f588f520
commit
cee1b80b93
|
@ -68,6 +68,8 @@ if (USE_RECOMMENDED_TRIPLETS)
|
||||||
else()
|
else()
|
||||||
if (_WANTED_TRIPLET MATCHES "^x64-osx-")
|
if (_WANTED_TRIPLET MATCHES "^x64-osx-")
|
||||||
set(_CAN_TARGET_AS_HOST ON)
|
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()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue