diff options
| author | 2023-06-05 21:43:43 -0700 | |
|---|---|---|
| committer | 2023-06-05 21:43:43 -0700 | |
| commit | cb95d7fe1b6d81899fe6b279400da2c991e3132c (patch) | |
| tree | a856ac45b1053009c4c11ee141c49d7faa4c8a19 /CMakeModules | |
| parent | Merge pull request #10611 from liamwhite/audio-deadlock (diff) | |
| parent | Merge pull request #10633 from t895/variable-surface-ratio (diff) | |
| download | yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.gz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.xz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.zip | |
Merge pull request #10508 from yuzu-emu/lime
Project Lime - yuzu Android Port
Diffstat (limited to 'CMakeModules')
| -rw-r--r-- | CMakeModules/DownloadExternals.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake index 8fe5ba48d..972f5ca74 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 |
| 8 | function(download_bundled_external remote_path lib_name prefix_var) | 8 | function(download_bundled_external remote_path lib_name prefix_var) |
| 9 | 9 | ||
| 10 | set(package_base_url "https://github.com/yuzu-emu/") | ||
| 10 | set(package_repo "no_platform") | 11 | set(package_repo "no_platform") |
| 11 | set(package_extension "no_platform") | 12 | set(package_extension "no_platform") |
| 12 | if (WIN32) | 13 | if (WIN32) |
| @@ -15,10 +16,13 @@ if (WIN32) | |||
| 15 | elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 16 | elseif (${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") |
| 19 | elseif (ANDROID) | ||
| 20 | set(package_repo "ext-android-bin/raw/main/") | ||
| 21 | set(package_extension ".tar.xz") | ||
| 18 | else() | 22 | else() |
| 19 | message(FATAL_ERROR "No package available for this platform") | 23 | message(FATAL_ERROR "No package available for this platform") |
| 20 | endif() | 24 | endif() |
| 21 | set(package_url "https://github.com/yuzu-emu/${package_repo}") | 25 | set(package_url "${package_base_url}${package_repo}") |
| 22 | 26 | ||
| 23 | set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}") | 27 | set(prefix "${CMAKE_BINARY_DIR}/externals/${lib_name}") |
| 24 | if (NOT EXISTS "${prefix}") | 28 | if (NOT EXISTS "${prefix}") |