Skip to content

Commit

Permalink
Merge pull request #33 from RC1844/patch-1
Browse files Browse the repository at this point in the history
Update xrepo.cmake
  • Loading branch information
waruqi authored Sep 6, 2024
2 parents 4930f96 + 0b0f659 commit e1c8b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xrepo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,10 @@ endfunction()

macro(_xrepo_fetch_json)
if(ARG_DEPS)
set(_deps "--deps")
set(_xrepo_deps "--deps")
endif()

execute_process(COMMAND ${XREPO_CMD} fetch ${_deps} --json ${_xrepo_cmdargs}
execute_process(COMMAND ${XREPO_CMD} fetch ${_xrepo_deps} --json ${_xrepo_cmdargs}
OUTPUT_VARIABLE json_output
ERROR_VARIABLE json_error_output
RESULT_VARIABLE exit_code)
Expand Down

0 comments on commit e1c8b8e

Please sign in to comment.