mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 04:57:52 +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
14 lines
661 B
CMake
14 lines
661 B
CMake
set(program_name perl)
|
|
set(program_version 5.38.0.1)
|
|
set(brew_package_name "perl")
|
|
set(apt_package_name "perl")
|
|
if(CMAKE_HOST_WIN32)
|
|
set(download_urls
|
|
"https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_5380_5361/strawberry-perl-5.38.0.1-64bit-portable.zip"
|
|
)
|
|
set(download_filename "strawberry-perl-5.38.0.1-64bit-portable.zip")
|
|
set(download_sha512 9b604f19e245a809bd18857bd91ebaec81ca031394ec69a3369df64d3590d2c9d557326d8aa10f91e78b1f1d56689aa57a8ec3a8cad4d2e542c96eb714a3831d)
|
|
set(tool_subdirectory ${program_version})
|
|
set(paths_to_search ${DOWNLOADS}/tools/perl/${tool_subdirectory}/perl/bin)
|
|
endif()
|