
if(UNIX)
  # Provide a version of 'setup.py' fixing detect_tkinter function:
  # It basically force the list of possible tcl/tk dir to: '8.4', '84'
  # Doing so will make sure tkinter is linked against the provided Tcl/Tk8.4
  CONFIGURE_FILE(
    "@ParaViewSuperBuild_CMAKE_SOURCE_DIR@/python_setup.py.in"
    "@CMAKE_CURRENT_BINARY_DIR@/@python_SOURCE_DIR@/setup.py"
    COPY)
ENDIF()
