From c3dea019d20e96219af82f10b935d6bb23baeedb Mon Sep 17 00:00:00 2001 From: funsafe-ptr <136802754+funsafe-ptr@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:14:44 +0700 Subject: [PATCH] [Android Termux] Fix missing `Z_VCPKG_TARGET_TRIPLET_PLAT` (#32157) --- scripts/buildsystems/vcpkg.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 739495fb7e..87e31f7f2d 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -360,6 +360,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_ endif() elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "FreeBSD")) set(Z_VCPKG_TARGET_TRIPLET_PLAT freebsd) +elseif(CMAKE_SYSTEM_NAME STREQUAL "Android" OR (NOT CMAKE_SYSTEM_NAME AND CMAKE_HOST_SYSTEM_NAME STREQUAL "Android")) + set(Z_VCPKG_TARGET_TRIPLET_PLAT android) endif() if(EMSCRIPTEN)