diff options
author | bunnei <bunneidev@gmail.com> | 2022-12-30 09:29:53 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:26 +0200 |
commit | 851b1008a881010b90002f4af9d0a4ac36710fea (patch) | |
tree | 6f808aeacafa6fc3dbfdd149940f068291815878 /CMakeModules | |
parent | cmake: Integrate submoduled LLVM & fixes for Android. (diff) | |
download | yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar.gz yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar.bz2 yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar.lz yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar.xz yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.tar.zst yuzu-851b1008a881010b90002f4af9d0a4ac36710fea.zip |
Diffstat (limited to '')
-rw-r--r-- | CMakeModules/DownloadExternals.cmake | 7 |
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 @@ # prefix_var: name of a variable which will be set with the path to the extracted contents function(download_bundled_external remote_path lib_name prefix_var) +set(package_base_url "https://github.com/yuzu-emu/") set(package_repo "no_platform") set(package_extension "no_platform") if (WIN32) @@ -15,10 +16,14 @@ if (WIN32) elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") set(package_repo "ext-linux-bin/raw/main/") set(package_extension ".tar.xz") +elseif (ANDROID) + set(package_base_url "https://gitlab.com/tertius42/") + set(package_repo "ext-android-bin/-/raw/main/") + set(package_extension ".tar.xz") #ffmpeg/ffmpeg-android-20221229.tar.xz") else() message(FATAL_ERROR "No package available for this platform") endif() -set(package_url "https://github.com/yuzu-emu/${package_repo}") +set(package_url "${package_base_url}${package_repo}") set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}") if (NOT EXISTS "${prefix}") |