set(command "/opt/cmake/v3.21/bin/cmake;-P;/home/xialb/git/arrow/cpp/debug/src/rapidjson_ep-stamp/download-rapidjson_ep.cmake")

execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
  set(msg "Command failed (${result}):\n")
  foreach(arg IN LISTS command)
    set(msg "${msg} '${arg}'")
  endforeach()
  message(FATAL_ERROR "${msg}")
endif()
set(command "/opt/cmake/v3.21/bin/cmake;-P;/home/xialb/git/arrow/cpp/debug/src/rapidjson_ep-stamp/verify-rapidjson_ep.cmake")

execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
  set(msg "Command failed (${result}):\n")
  foreach(arg IN LISTS command)
    set(msg "${msg} '${arg}'")
  endforeach()
  message(FATAL_ERROR "${msg}")
endif()
set(command "/opt/cmake/v3.21/bin/cmake;-P;/home/xialb/git/arrow/cpp/debug/src/rapidjson_ep-stamp/extract-rapidjson_ep.cmake")

execute_process(COMMAND ${command} RESULT_VARIABLE result)
if(result)
  set(msg "Command failed (${result}):\n")
  foreach(arg IN LISTS command)
    set(msg "${msg} '${arg}'")
  endforeach()
  message(FATAL_ERROR "${msg}")
endif()
