disable-download-archive.patch 654 B

123456789101112
  1. diff --git a/cmake/download_archive.cmake b/cmake/download_archive.cmake
  2. index 820aafafb7..a59b785c7e 100644
  3. --- a/cmake/download_archive.cmake
  4. +++ b/cmake/download_archive.cmake
  5. @@ -19,6 +19,7 @@ file(MAKE_DIRECTORY ${_download_archive_TEMPORARY_DIR})
  6. # Note that strip_prefix strips the directory path prefix of the extracted
  7. # archive content, and it may strip multiple directories.
  8. function(download_archive destination url hash strip_prefix)
  9. + return()
  10. # Fetch and validate
  11. set(_TEMPORARY_FILE ${_download_archive_TEMPORARY_DIR}/${strip_prefix}.tar.gz)
  12. message(STATUS "Downloading from ${url}, if failed, please try configuring again")