mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 11:33:58 +02:00
Merge RubyGems-3.3.19 and Bundler-2.3.19
This commit is contained in:
parent
0918783347
commit
44c926f3a9
362 changed files with 7843 additions and 7605 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
|
||||
def self.build(extension, dest_path, results, args=[], lib_dir=nil, cmake_dir=Dir.pwd)
|
||||
unless File.exist?(File.join(cmake_dir, 'Makefile'))
|
||||
require_relative '../command'
|
||||
unless File.exist?(File.join(cmake_dir, "Makefile"))
|
||||
require_relative "../command"
|
||||
cmd = ["cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{dest_path}", *Gem::Command.build_args]
|
||||
|
||||
run cmd, results, class_name, cmake_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue