diff --git a/Formula/geographiclib.rb b/Formula/geographiclib.rb index 4ab1376210..b9a0e51938 100644 --- a/Formula/geographiclib.rb +++ b/Formula/geographiclib.rb @@ -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