# Configured file and directory locations.
SET(PYTHON_EXECUTABLE "/usr/bin/python2.4")
SET(CMAKE_INSTALL_PREFIX "/home/juju/VTK5.0Suse10_64Bits")
SET(VTK_BINARY_DIR "/home/juju/VTK5.0/VTK")

# Convert the prefix to a windows path if necessary.  The python
# distutils implementation seems sensitive to the slash direction.
IF(WIN32)
  IF(NOT CYGWIN)
    STRING(REGEX REPLACE "/" "\\\\" CMAKE_INSTALL_PREFIX
      "${CMAKE_INSTALL_PREFIX}")
  ENDIF(NOT CYGWIN)
ENDIF(WIN32)

# Run python on setup.py to install the python modules.
EXEC_PROGRAM("${PYTHON_EXECUTABLE}" "${VTK_BINARY_DIR}/Wrapping/Python" ARGS
  "setup.py" "install"  --prefix="${CMAKE_INSTALL_PREFIX}"
  )
