aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake
diff options
context:
space:
mode:
authorWolfgang Stöggl <c72578@yahoo.de>2020-01-22 21:27:45 +0100
committerVictor Romero <romerosanchezv@gmail.com>2020-01-22 12:27:45 -0800
commitf992ddbed3baf216248b42cecc92de54c7c222f8 (patch)
tree699e5f2b4d0d5c3a7b19fb74c41fc1509e74d161 /scripts/cmake
parent687cff42ce280b2f368533821893a310365f30ad (diff)
downloadvcpkg-f992ddbed3baf216248b42cecc92de54c7c222f8.tar.gz
vcpkg-f992ddbed3baf216248b42cecc92de54c7c222f8.zip
[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
Diffstat (limited to 'scripts/cmake')
-rw-r--r--scripts/cmake/vcpkg_find_acquire_program.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/cmake/vcpkg_find_acquire_program.cmake b/scripts/cmake/vcpkg_find_acquire_program.cmake
index 4c402db48..038e50b36 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)