vcpkg/scripts/cmake/vcpkg_find_acquire_program(DOXYGEN).cmake
Billy O'Neal 83712a6060
Improve and extract internals of vcpkg_find_acquire_program. (#34881)
* Extract vcpkg_extract_archive from vcpkg_find_acquire_program.

* Extract vcpkg_download_sourceforge from vcpkg_from_sourceforge.

This allows vcpkg_find_acquire_program to download from SourceForge without needing to temporarily change _VCPKG_EDITABLE.

* Use whether a URI is known for an entity to decide whether to downloads it rather than checking a separate supported_on_unix boolean.

* Add unparsed arguments check to vcpkg_extract_archive
2023-11-14 14:01:08 -08:00

12 lines
463 B
CMake

set(program_name doxygen)
set(program_version 1.9.1)
if(CMAKE_HOST_WIN32)
set(download_filename "doxygen-${program_version}.windows.bin.zip")
set(download_sha512 "c3eeb6b9fa4eab70fb6b0864fbbf94fb8050f3fee38d117cf470921a80e3569cc1c8b0272604d6731e05f01790cfaa70e159bec5d0882fc4f2d8ae4a5d52a21b")
vcpkg_list(SET sourceforge_args
REPO doxygen
REF "rel-${program_version}"
)
set(tool_subdirectory c3eeb6b9fa-76d69c6db5)
endif()