field3d: addtional fixes from @2bits to pr Homebrew/homebrew#14161
Closes Homebrew/homebrew#14515. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
9ce32ea022
commit
dfaa9d55ff
1 changed files with 8 additions and 2 deletions
|
@ -13,12 +13,18 @@ class Field3d < Formula
|
|||
def patches
|
||||
# add boost system to required boost libs
|
||||
# already reported upstream, see https://github.com/imageworks/Field3D/pull/51
|
||||
# Remove at > 1.3.2
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "cmake", ".", '-DINSTALL_DOCS=OFF', *std_cmake_args
|
||||
system "make install"
|
||||
mkdir 'brewbuild' do
|
||||
args = std_cmake_args + %w[
|
||||
-DDOXYGEN_EXECUTABLE=NOTFOUND
|
||||
..]
|
||||
system "cmake", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue