FIND_LIBRARY(vtkGraphicsPythonD vtkGraphicsPythonD ${VTK_LIBRARY_DIRS} NO_DEFAULT_PATH)
FIND_LIBRARY(vtkImagingPythonD vtkImagingPythonD ${VTK_LIBRARY_DIRS} NO_DEFAULT_PATH)
-IF(NOT WINDOWS)
- IF(VTK_MAJOR_VERSION STREQUAL 5)
- IF(VTK_MINOR_VERSION STREQUAL 0)
- SET(VTK_INCLUDES ${VTK_INCLUDES} -Wno-deprecated)
- ENDIF(VTK_MINOR_VERSION STREQUAL 0)
- ENDIF(VTK_MAJOR_VERSION STREQUAL 5)
-ENDIF(NOT WINDOWS)
+#IF(NOT WINDOWS)
+# IF(VTK_MAJOR_VERSION STREQUAL 5)
+# IF(VTK_MINOR_VERSION STREQUAL 0)
+# SET(VTK_INCLUDES ${VTK_INCLUDES} -Wno-deprecated)
+# ENDIF(VTK_MINOR_VERSION STREQUAL 0)
+# ENDIF(VTK_MAJOR_VERSION STREQUAL 5)
+#ENDIF(NOT WINDOWS)
+
+SET(VTK_INCLUDES ${VTK_INCLUDES} -DVTK_EXCLUDE_STRSTREAM_HEADERS)