mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 17:09:07 +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
10 lines
549 B
CMake
10 lines
549 B
CMake
set(program_name 7z)
|
|
if(CMAKE_HOST_WIN32)
|
|
set(tool_subdirectory "23.01")
|
|
set(paths_to_search "${DOWNLOADS}/tools/7zip_msi-${tool_subdirectory}-windows/Files/7-Zip") # vcpkg fetch 7zip_msi path
|
|
list(APPEND paths_to_search "${DOWNLOADS}/tools/7z/${tool_subdirectory}/Files/7-Zip")
|
|
set(download_urls "https://7-zip.org/a/7z2301.msi")
|
|
set(download_filename "7z2301.msi")
|
|
set(download_sha512 002c8ab30be802fa5fa90896d2bdf710bfbd89e39487af25af9d63821986e6d11c42b1c4f4acc79d325719b10193cd31c38f648403ef16f0580609afa8da9596)
|
|
endif()
|