Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/Library/Formula/vtk.rb b/Library/Formula/vtk.rb
index 073e90f..5858228 100644
--- a/Library/Formula/vtk.rb
+++ b/Library/Formula/vtk.rb
@@ -35,6 +35,7 @@ class Vtk < Formula
-DBUILD_SHARED_LIBS=ON
-DCMAKE_INSTALL_RPATH:STRING='#{lib}/vtk-5.10'
-DCMAKE_INSTALL_NAME_DIR:STRING='#{lib}/vtk-5.10'
+ -DIOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
]
args << '-DBUILD_EXAMPLES=' + ((build.include? 'examples') ? 'ON' : 'OFF')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment