mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 23:49:16 +08:00
984698f5f0
* Switch download source to github * update version * add both urls --------- Co-authored-by: Monica <v-liumonica@microsoft.com> Co-authored-by: Javier Matos Denizac <javiermat@microsoft.com>
10 lines
615 B
CMake
10 lines
615 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://github.com/ip7z/7zip/releases/download/23.01/7z2301.msi" "https://7-zip.org/a/7z2301.msi")
|
|
set(download_filename "7z2301.msi")
|
|
set(download_sha512 002c8ab30be802fa5fa90896d2bdf710bfbd89e39487af25af9d63821986e6d11c42b1c4f4acc79d325719b10193cd31c38f648403ef16f0580609afa8da9596)
|
|
endif()
|