From dc3316a426d8433fef14c86c04ec4f018689be45 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sun, 24 Dec 2017 05:01:22 -0800 Subject: [PATCH] gdcm: remove vtk dependency Closes #22095. Signed-off-by: ilovezfs --- Formula/gdcm.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Formula/gdcm.rb b/Formula/gdcm.rb index 14bc23c267..ff7635c4c0 100644 --- a/Formula/gdcm.rb +++ b/Formula/gdcm.rb @@ -3,7 +3,7 @@ class Gdcm < Formula homepage "https://sourceforge.net/projects/gdcm/" url "https://downloads.sourceforge.net/project/gdcm/gdcm%202.x/GDCM%202.8.4/gdcm-2.8.4.tar.gz" sha256 "8f480d0a9b0b331f2e83dcc9cdb3d957f10eb32ee4db90fc1c153172dcb45587" - revision 1 + revision 2 bottle do sha256 "83362d1601aa95241a7b1294e779d0183291ebd9e7e50b4741f0dce0b6b59407" => :high_sierra @@ -20,7 +20,6 @@ class Gdcm < Formula depends_on "pkg-config" => :build depends_on "openjpeg" depends_on "openssl" - depends_on "vtk" needs :cxx11 @@ -33,7 +32,7 @@ class Gdcm < Formula -DGDCM_BUILD_TESTING=OFF -DGDCM_BUILD_EXAMPLES=OFF -DGDCM_BUILD_DOCBOOK_MANPAGES=OFF - -DGDCM_USE_VTK=ON + -DGDCM_USE_VTK=OFF -DGDCM_USE_SYSTEM_OPENJPEG=ON -DGDCM_USE_SYSTEM_OPENSSL=ON ]