mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 17:18:13 +08:00
83712a6060
* 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
9 lines
492 B
CMake
9 lines
492 B
CMake
set(program_name gperf)
|
|
set(program_version 3.0.1)
|
|
if(CMAKE_HOST_WIN32)
|
|
set(download_filename "gperf-${program_version}-bin.zip")
|
|
set(download_sha512 3f2d3418304390ecd729b85f65240a9e4d204b218345f82ea466ca3d7467789f43d0d2129fcffc18eaad3513f49963e79775b10cc223979540fa2e502fe7d4d9)
|
|
set(download_urls "https://sourceforge.net/projects/gnuwin32/files/gperf/${program_version}/gperf-${program_version}-bin.zip/download")
|
|
set(paths_to_search "${DOWNLOADS}/tools/gperf/bin")
|
|
endif()
|