Fix install clause
This commit is contained in:
parent
e052270433
commit
b091a0e4c2
1 changed files with 4 additions and 6 deletions
|
@ -7,12 +7,10 @@ class Geographiclib < Formula
|
|||
depends_on "cmake" => :build
|
||||
|
||||
def install
|
||||
# GeographicLib makes a Release build if CMAKE_BUILD_TYPE isn't set.
|
||||
args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
|
||||
mkdir 'build'
|
||||
chdir 'build' do
|
||||
system 'cmake', *args, '..'
|
||||
system 'make install'
|
||||
mkdir "build"
|
||||
chdir "build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue