eigen: fix build type
This commit is contained in:
parent
425c7e1eb1
commit
60c89b7bde
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ class Eigen < Formula
|
|||
def install
|
||||
ENV.fortran
|
||||
mkdir 'eigen-build' do
|
||||
system "cmake", "..", "-Dpkg_config_libdir=#{lib}", *std_cmake_args
|
||||
args = std_cmake_args
|
||||
args.delete '-DCMAKE_BUILD_TYPE=None'
|
||||
args << '-DCMAKE_BUILD_TYPE=Release'
|
||||
|
||||
system "cmake", "..", "-Dpkg_config_libdir=#{lib}", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue