summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bcd88784b..2d25cc3a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -108,6 +108,9 @@ if (YUZU_USE_BUNDLED_VCPKG)
108 if (ANDROID) 108 if (ANDROID)
109 set(VCPKG_TARGET_TRIPLET "arm64-android") 109 set(VCPKG_TARGET_TRIPLET "arm64-android")
110 set(ENV{ANDROID_NDK_HOME} "${ANDROID_NDK}") 110 set(ENV{ANDROID_NDK_HOME} "${ANDROID_NDK}")
111 # this is to avoid CMake using the host pkg-config to find the host
112 # libraries when building for Android targets
113 set(PKG_CONFIG_EXECUTABLE "aarch64-none-linux-android-pkg-config" CACHE FILEPATH "" FORCE)
111 list(APPEND VCPKG_MANIFEST_FEATURES "android") 114 list(APPEND VCPKG_MANIFEST_FEATURES "android")
112 endif() 115 endif()
113 116