mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 01:59:08 +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
557 B
CMake
9 lines
557 B
CMake
set(program_name "ruby")
|
|
set(program_version 2.7.4-1)
|
|
if(CMAKE_HOST_WIN32)
|
|
set(download_urls "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-${program_version}/rubyinstaller-${program_version}-x86.7z")
|
|
set(download_filename "rubyinstaller-${program_version}-x86.7z")
|
|
set(download_sha512 4bf459c987b407bdda328c52d95060bf6ad48fc3e5ed5f64d4b205c5b4153c7a00cb6f9da6c0bcd5f2e001e9dc3dda0b72269ec4afdeffd658b93c085cd1d859)
|
|
set(paths_to_search "${DOWNLOADS}/tools/ruby/rubyinstaller-${program_version}-x86/bin")
|
|
endif()
|