Skip to content

Commit

Permalink
improve rapids_cpm_json_get_value parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Sep 9, 2022
1 parent 9c1a77b commit 58ba508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rapids-cmake/cpm/detail/generate_patch_command.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function(rapids_cpm_generate_patch_command package_name version patch_command)
endif()

# Parse required fields
function(rapids_cpm_json_get_value jdata name)
string(JSON value ERROR_VARIABLE have_error GET "${jdata}" ${name})
function(rapids_cpm_json_get_value json_data_ name)
string(JSON value ERROR_VARIABLE have_error GET "${json_data_}" ${name})
if(NOT have_error)
set(${name} ${value} PARENT_SCOPE)
endif()
Expand Down

0 comments on commit 58ba508

Please sign in to comment.