WSJT-X/CMake/download_html_manual.cmake
Bill Somerville 950a816314 Increase web download timeouts to 2 minutes
User manual and kvasd downloads are occasionally timing out with a 10s
timeout.




git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4458 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2014-10-02 20:46:57 +00:00

17 lines
364 B
CMake

#
# CMake script to fetch the current HTML manual
#
message (STATUS "file: ${URL}/${NAME}")
file (
DOWNLOAD ${URL}/${NAME} contrib/${NAME}
TIMEOUT 120
STATUS manual_STATUS
LOG manual_LOG
SHOW_PROGRESS
)
list (GET manual_STATUS 0 manual_RC)
if (manual_RC)
message (WARNING "${manual_STATUS}")
message (FATAL_ERROR "${manual_LOG}")
endif (manual_RC)