CMAKE_THREAD_LIBS:STRING=-lpython2.5 -lpthread

# skip the full RPATH for the build tree
CMAKE_SKIP_BUILD_RPATH:BOOL=OFF

# when building, use the install RPATH already
# (so it doesn't need to relink when installing)
CMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF

# the RPATH to be used when installing
CMAKE_INSTALL_RPATH:PATH=/usr/lib/openmpi/lib

# add the automatically determined parts of the RPATH
# which point to directories outside the build tree to the install RPATH
CMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON

VTK_USE_SYSTEM_EXPAT:BOOL=ON
VTK_USE_SYSTEM_FREETYPE:BOOL=ON
VTK_USE_SYSTEM_JPEG:BOOL=ON
VTK_USE_SYSTEM_LIBXML2:BOOL=ON
VTK_USE_SYSTEM_PNG:BOOL=ON
VTK_USE_SYSTEM_TIFF:BOOL=ON
VTK_USE_SYSTEM_ZLIB:BOOL=ON
VTK_USE_SYSTEM_EXPAT:BOOL=ON
VTK_USE_QVTK:BOOL=ON
VTK_USE_QVTK_QTOPENGL:BOOL=ON
BUILD_EXAMPLES:BOOL=ON
VTK_WRAP_PYTHON:BOOL=ON

