mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -06:00
In order to abort transfers on slow connections the ExternalProject command support passing the INACTIVITY_TIMEOUT argument. Fixes: #20992
6 lines
180 B
CMake
6 lines
180 B
CMake
include(ExternalProject)
|
|
ExternalProject_Add(MyProj URL ${SERVER_URL} INACTIVITY_TIMEOUT 2 DOWNLOAD_NO_EXTRACT TRUE
|
|
CONFIGURE_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND "")
|