


# Determine Qt GUI.
IF(APPLE)
  # must use Carbon on the Mac to interface with Qt
  VTK_DEPENDENT_OPTION(VTK_USE_QVTK "Build QVTK widget and plugin for Qt" OFF
                       "VTK_USE_GUISUPPORT;VTK_USE_RENDERING;VTK_USE_CARBON" OFF)
ELSE(APPLE)
  VTK_DEPENDENT_OPTION(VTK_USE_QVTK "Build QVTK widget and plugin for Qt" OFF
                       "VTK_USE_GUISUPPORT;VTK_USE_RENDERING" OFF)
ENDIF(APPLE)

IF(WIN32)
  VTK_DEPENDENT_OPTION(VTK_USE_MFC "Build MFC classes for VTK" OFF
                       "VTK_USE_GUISUPPORT;VTK_USE_RENDERING" OFF)
ENDIF(WIN32)

IF(VTK_USE_QVTK)
  SUBDIRS(Qt)
ENDIF(VTK_USE_QVTK)

IF(VTK_USE_MFC)
  SUBDIRS(MFC)
ENDIF(VTK_USE_MFC)





# Determine Qt GUI.
VTK_DEPENDENT_OPTION(VTK_USE_QVTK "Build QVTK widget and plugin for Qt" OFF
                     "VTK_USE_GUISUPPORT;VTK_USE_RENDERING" OFF)

IF(WIN32)
  VTK_DEPENDENT_OPTION(VTK_USE_MFC "Build MFC classes for VTK" OFF
                       "VTK_USE_GUISUPPORT;VTK_USE_RENDERING" OFF)
ENDIF(WIN32)

IF(VTK_USE_QVTK)
  SUBDIRS(Qt)
ENDIF(VTK_USE_QVTK)

IF(VTK_USE_MFC)
  SUBDIRS(MFC)
ENDIF(VTK_USE_MFC)


Support building with X11 on Mac.
COMP: Support building with X11 on Mac.
