Skip to content

Instantly share code, notes, and snippets.

@tfmoraes
Created February 26, 2013 12:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfmoraes/5038005 to your computer and use it in GitHub Desktop.
Save tfmoraes/5038005 to your computer and use it in GitHub Desktop.
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