disable_remote_git.diff 553 B

123456789101112
  1. --- /tmp/ediffe5aytW 2022-01-30 10:54:48.965199410 -0600
  2. +++ CMake/ITKModuleRemote.cmake 2022-01-30 10:54:26.938532398 -0600
  3. @@ -2,6 +2,8 @@
  4. # Helper to perform the initial git clone and checkout.
  5. function(_git_clone git_executable git_repository git_tag module_dir)
  6. + message(STATUS "Replacing remote repository ${git_repository} by ${ITK_SOURCE_DIR}/../${_name}")
  7. + set(git_repository "${ITK_SOURCE_DIR}/../${_name}")
  8. execute_process(
  9. COMMAND "${git_executable}" clone "${git_repository}" "${module_dir}"
  10. RESULT_VARIABLE error_code