[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: 526f937580
This commit is contained in:
Wolfgang Stöggl 2020-01-22 21:27:45 +01:00 committed by Victor Romero
parent 687cff42ce
commit f992ddbed3

View File

@ -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)