aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake')
-rw-r--r--vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake b/vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake
new file mode 100644
index 0000000..c955e6a
--- /dev/null
+++ b/vcpkg/scripts/cmake/vcpkg_find_acquire_program(RUBY).cmake
@@ -0,0 +1,8 @@
+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()