]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Exclude strstream inclusion
authoradam <adam>
Fri, 18 Feb 2011 11:50:04 +0000 (11:50 +0000)
committeradam <adam>
Fri, 18 Feb 2011 11:50:04 +0000 (11:50 +0000)
adm_local/cmake_files/FindVTK.cmake

index 71f7a605e3c1aec7c4de841df40c75f6ae500254..7b6afc326cc67f95ef63daa796964c42b59d5bf6 100644 (file)
@@ -48,10 +48,12 @@ FIND_LIBRARY(vtkCommonPythonD vtkCommonPythonD ${VTK_LIBRARY_DIRS} NO_DEFAULT_PA
 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)