cmake: build in release mode

Fixes #21155.

Closes #21170.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Kai Hoewelmeyer 2017-11-29 17:47:41 +01:00 committed by ilovezfs
parent cf44151dbc
commit ecda53aa81

View file

@ -41,7 +41,7 @@ class Cmake < Formula
args << "--sphinx-man" << "--sphinx-build=#{Formula["sphinx-doc"].opt_bin}/sphinx-build"
end
system "./bootstrap", *args
system "./bootstrap", *args, "--", "-DCMAKE_BUILD_TYPE=Release"
system "make"
system "make", "install"