summaryrefslogtreecommitdiff
path: root/lib/rubygems/ext/cmake_builder.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/ext/cmake_builder.rb2
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@
require_relative '../command'
class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
def self.build(extension, dest_path, results, args=[], lib_dir=nil)
unless File.exist?('Makefile')
cmd = "cmake . -DCMAKE_INSTALL_PREFIX=#{dest_path}"
@@ -14,4 +15,5 @@ class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
results
end
end