vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake

9 lines
557 B
CMake
Raw Normal View History

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()