summaryrefslogtreecommitdiff
path: root/lib/rubygems/ext/cmake_builder.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/ext/cmake_builder.rb3
1 files changed, 1 insertions, 2 deletions
@@ -4,8 +4,7 @@ require_relative '../command'
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'))
- cmd = "cmake . -DCMAKE_INSTALL_PREFIX=#{dest_path}"
- cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty?
run cmd, results, class_name, cmake_dir
end