aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanseul Jun <hanseuljun@gmail.com>2020-09-24 12:12:50 -0700
committerGitHub <noreply@github.com>2020-09-24 12:12:50 -0700
commit9e70773e0ef20caf4cf68aad9b1fc2de97e1d6ec (patch)
treef94239a0a13add0315ecc967bde6f8bb8df5f081
parent7bc2ec295ba580a87fbda3d1efe11fdd0dad24d5 (diff)
downloadvcpkg-9e70773e0ef20caf4cf68aad9b1fc2de97e1d6ec.tar.gz
vcpkg-9e70773e0ef20caf4cf68aad9b1fc2de97e1d6ec.zip
[libvpx] allow arm64 as target architecture (#13569)
* [libvpx] allow arm64 as target architecture * [libvpx] bump port version to 2
-rw-r--r--ports/libvpx/portfile.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/libvpx/portfile.cmake b/ports/libvpx/portfile.cmake
index a3adee4a9..5e36511eb 100644
--- a/ports/libvpx/portfile.cmake
+++ b/ports/libvpx/portfile.cmake
@@ -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()