mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 17:11:53 -05:00
58119734f9
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
17 lines
364 B
CMake
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)
|