mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-17 03:47:03 +02:00
[cmake] fix breakpad fetching
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
3af8f6cffe
commit
782341554e
8 changed files with 66 additions and 40 deletions
|
|
@ -147,6 +147,7 @@ function(AddJsonPackage)
|
|||
get_json_element("${object}" git_host git_host "")
|
||||
get_json_element("${object}" source_subdir source_subdir "")
|
||||
get_json_element("${object}" bundled bundled "unset")
|
||||
get_json_element("${object}" download_only download_only "unset")
|
||||
get_json_element("${object}" find_args find_args "")
|
||||
get_json_element("${object}" raw_patches patches "")
|
||||
|
||||
|
|
@ -200,8 +201,18 @@ function(AddJsonPackage)
|
|||
# system/bundled
|
||||
if (bundled STREQUAL "unset" AND DEFINED JSON_BUNDLED_PACKAGE)
|
||||
set(bundled ${JSON_BUNDLED_PACKAGE})
|
||||
else()
|
||||
set(bundled OFF)
|
||||
endif()
|
||||
|
||||
# download only
|
||||
if (download_only STREQUAL "unset" AND DEFINED JSON_DOWNLOAD_ONLY)
|
||||
set(download_only ${JSON_DOWNLOAD_ONLY})
|
||||
else()
|
||||
set(download_only OFF)
|
||||
endif()
|
||||
|
||||
|
||||
AddPackage(
|
||||
NAME "${package}"
|
||||
VERSION "${version}"
|
||||
|
|
@ -220,6 +231,8 @@ function(AddJsonPackage)
|
|||
GIT_VERSION ${git_version}
|
||||
GIT_HOST ${git_host}
|
||||
|
||||
DOWNLOAD_ONLY ${download_only}
|
||||
|
||||
ARTIFACT ${artifact}
|
||||
TAG ${tag}
|
||||
)
|
||||
|
|
@ -275,6 +288,8 @@ function(AddPackage)
|
|||
URL
|
||||
GIT_URL
|
||||
|
||||
DOWNLOAD_ONLY
|
||||
|
||||
KEY
|
||||
BUNDLED_PACKAGE
|
||||
FORCE_BUNDLED_PACKAGE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue