From f992ddbed3baf216248b42cecc92de54c7c222f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Wed, 22 Jan 2020 21:27:45 +0100 Subject: [PATCH] [doxygen] Add alternative download URL (#9708) Only the current and the previous version of doxygen can be downloaded from: http://doxygen.nl Sourceforge provides the current version and any previously released versions for download: https://sourceforge.net/projects/doxygen/files/ Add sourceforge as alternative download URL. This avoids situations, when the version of doxygen in vcpkg is n-2 and cannot be downloaded any more, see e.g. commit: 526f9375800f846b113989fc3d566af7b8c79408 --- scripts/cmake/vcpkg_find_acquire_program.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake index 4c402db48bf..038e50b36e2 100644 --- a/scripts/cmake/vcpkg_find_acquire_program.cmake +++ b/scripts/cmake/vcpkg_find_acquire_program.cmake @@ -241,9 +241,12 @@ function(vcpkg_find_acquire_program VAR) set(HASH fe121b67b979a4e9580c7f62cfdbe0c243eba62a05b560d6d513ac7f35816d439b26d92fc2d7b7d7241c9ce2a49ea7949455a17587ef53c04a5f5125ac635727) elseif(VAR MATCHES "DOXYGEN") set(PROGNAME doxygen) + set(DOXYGEN_VERSION 1.8.17) set(PATHS ${DOWNLOADS}/tools/doxygen) - set(URL "http://doxygen.nl/files/doxygen-1.8.17.windows.bin.zip") - set(ARCHIVE "doxygen-1.8.17.windows.bin.zip") + set(URL + "http://doxygen.nl/files/doxygen-${DOXYGEN_VERSION}.windows.bin.zip" + "https://sourceforge.net/projects/doxygen/files/rel-${DOXYGEN_VERSION}/doxygen-${DOXYGEN_VERSION}.windows.bin.zip") + set(ARCHIVE "doxygen-${DOXYGEN_VERSION}.windows.bin.zip") set(HASH 6bac47ec552486783a70cc73b44cf86b4ceda12aba6b52835c2221712bd0a6c845cecec178c9ddaa88237f5a781f797add528f47e4ed017c7888eb1dd2bc0b4b) elseif(VAR MATCHES "BAZEL") set(PROGNAME bazel)