[libvpx] allow arm64 as target architecture (#13569)

* [libvpx] allow arm64 as target architecture

* [libvpx] bump port version to 2
This commit is contained in:
Hanseul Jun 2020-09-24 12:12:50 -07:00 committed by GitHub
parent 7bc2ec295b
commit 9e70773e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,8 @@ else()
set(LIBVPX_TARGET_ARCH "x86")
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL x64)
set(LIBVPX_TARGET_ARCH "x86_64")
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL arm64)
set(LIBVPX_TARGET_ARCH "arm64")
else()
message(FATAL_ERROR "libvpx does not support architecture ${VCPKG_TARGET_ARCHITECTURE}")
endif()