aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/lasi.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/lasi.rb b/Library/Formula/lasi.rb
index 5eb81dea5..5e5645d18 100644
--- a/Library/Formula/lasi.rb
+++ b/Library/Formula/lasi.rb
@@ -13,7 +13,10 @@ class Lasi < Formula
depends_on 'doxygen'
def install
- system "cmake", ".", *std_cmake_args
+ # None is valid, but lasi's CMakeFiles doesn't think so for some reason
+ args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
+
+ system "cmake", ".", "-DCMAKE_BUILD_TYPE=Release", *args
system "make install"
end
end