Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Vtk: Add options from Homebrew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Nov 9, 2015
1 parent 94fa405 commit 801758e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vtk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ if [ `uname` == Darwin ]; then
CC=cc
CXX=c++
PY_LIB="libpython${PY_VER}.dylib"
SDK_PATH="/Developer/SDKs/MacOSX10.6.sdk"

cmake .. \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
-DVTK_REQUIRED_OBJCXX_FLAGS='' \
-DVTK_USE_CARBON=OFF \
-DVTK_USE_TK=OFF \
-DIOKit:FILEPATH=${SDK_PATH}/System/Library/Frameworks/IOKit.framework \
-DVTK_USE_COCOA=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$PREFIX" \
-DCMAKE_INSTALL_RPATH:STRING="$PREFIX/lib" \
Expand All @@ -49,7 +55,6 @@ if [ `uname` == Darwin ]; then
-DPYTHON_INCLUDE_PATH=${PREFIX}/include/python${PY_VER} \
-DPYTHON_LIBRARY=${PREFIX}/lib/${PY_LIB} \
-DVTK_INSTALL_PYTHON_MODULE_DIR=${SP_DIR} \
-DVTK_USE_OFFSCREEN=ON \
-DModule_vtkRenderingMatplotlib=ON \
-DVTK_USE_X=OFF
fi
Expand Down

0 comments on commit 801758e

Please sign in to comment.