diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-25 18:40:08 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-26 00:22:53 +0000 |
commit | 931302c500f9c70446ff74f1cccd70ec00f9af12 (patch) | |
tree | 3c1ecf8ddea54e7a226fcd54baaf5fba15c94c1d /Meta/CMake | |
parent | c7ef86f5d9ad06be351b273db31eea9be139bbf5 (diff) | |
download | serenity-931302c500f9c70446ff74f1cccd70ec00f9af12.zip |
Meta: Download TZDB data with fallible download function
Diffstat (limited to 'Meta/CMake')
-rw-r--r-- | Meta/CMake/time_zone_data.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Meta/CMake/time_zone_data.cmake b/Meta/CMake/time_zone_data.cmake index 6ba561b9cf..9740cfb8c4 100644 --- a/Meta/CMake/time_zone_data.cmake +++ b/Meta/CMake/time_zone_data.cmake @@ -48,11 +48,7 @@ endfunction() if (ENABLE_TIME_ZONE_DATABASE_DOWNLOAD) remove_path_if_version_changed("${TZDB_VERSION}" "${TZDB_VERSION_FILE}" "${TZDB_PATH}") - if (NOT EXISTS "${TZDB_ZIP_PATH}") - message(STATUS "Downloading time zone database from ${TZDB_ZIP_URL}...") - file(DOWNLOAD "${TZDB_ZIP_URL}" "${TZDB_ZIP_PATH}" INACTIVITY_TIMEOUT 10) - endif() - + download_file("${TZDB_ZIP_URL}" "${TZDB_ZIP_PATH}") extract_tzdb_file("${TZDB_AFRICA_SOURCE}" "${TZDB_AFRICA_PATH}") extract_tzdb_file("${TZDB_ANTARCTICA_SOURCE}" "${TZDB_ANTARCTICA_PATH}") extract_tzdb_file("${TZDB_ASIA_SOURCE}" "${TZDB_ASIA_PATH}") |