Skip to content

Commit

Permalink
vtk: revision bump (hdf5 1.14.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMichka committed Sep 15, 2024
1 parent 26fa1bf commit a333dbf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/v/vtk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Vtk < Formula
url "https://www.vtk.org/files/release/9.3/VTK-9.3.1.tar.gz"
sha256 "8354ec084ea0d2dc3d23dbe4243823c4bfc270382d0ce8d658939fd50061cab8"
license "BSD-3-Clause"
revision 1
revision 2
head "https://gitlab.kitware.com/vtk/vtk.git", branch: "master"

bottle do
Expand Down Expand Up @@ -118,6 +118,10 @@ def install
# https://github.com/Homebrew/linuxbrew-core/pull/21654#issuecomment-738549701
args << "-DOpenGL_GL_PREFERENCE=LEGACY"

# Help vtk find hdf5 1.14.4.x
# https://github.com/Homebrew/homebrew-core/pull/170959#issuecomment-2295288143
args << "-DHDF5_INCLUDE_DIR=#{Formula["hdf5"].opt_include}"

args << "-DVTK_USE_COCOA:BOOL=ON" if OS.mac?

system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
Expand Down

0 comments on commit a333dbf

Please sign in to comment.