summaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/DownloadExternals.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake
index 8fe5ba48d..814069f0b 100644
--- a/CMakeModules/DownloadExternals.cmake
+++ b/CMakeModules/DownloadExternals.cmake
@@ -7,6 +7,7 @@
7# prefix_var: name of a variable which will be set with the path to the extracted contents 7# prefix_var: name of a variable which will be set with the path to the extracted contents
8function(download_bundled_external remote_path lib_name prefix_var) 8function(download_bundled_external remote_path lib_name prefix_var)
9 9
10set(package_base_url "https://github.com/yuzu-emu/")
10set(package_repo "no_platform") 11set(package_repo "no_platform")
11set(package_extension "no_platform") 12set(package_extension "no_platform")
12if (WIN32) 13if (WIN32)
@@ -15,10 +16,14 @@ if (WIN32)
15elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") 16elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
16 set(package_repo "ext-linux-bin/raw/main/") 17 set(package_repo "ext-linux-bin/raw/main/")
17 set(package_extension ".tar.xz") 18 set(package_extension ".tar.xz")
19elseif (ANDROID)
20 set(package_base_url "https://gitlab.com/tertius42/")
21 set(package_repo "ext-android-bin/-/raw/main/")
22 set(package_extension ".tar.xz") #ffmpeg/ffmpeg-android-20221229.tar.xz")
18else() 23else()
19 message(FATAL_ERROR "No package available for this platform") 24 message(FATAL_ERROR "No package available for this platform")
20endif() 25endif()
21set(package_url "https://github.com/yuzu-emu/${package_repo}") 26set(package_url "${package_base_url}${package_repo}")
22 27
23set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}") 28set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}")
24if (NOT EXISTS "${prefix}") 29if (NOT EXISTS "${prefix}")