DownloadTimeout.cmake 232 B

12345
  1. include(ExternalProject)
  2. set(source_dir "${CMAKE_CURRENT_BINARY_DIR}/DownloadTimeout")
  3. file(REMOVE_RECURSE "${source_dir}")
  4. file(MAKE_DIRECTORY "${source_dir}")
  5. ExternalProject_Add(MyProj URL "http://cmake.org/invalid_file.tar.gz")