From: adam Date: Fri, 18 Feb 2011 11:50:04 +0000 (+0000) Subject: Exclude strstream inclusion X-Git-Tag: V6_3_0a1~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1cd49b42e9bdf8667314f0125c89020515d7059;p=modules%2Fgui.git Exclude strstream inclusion --- diff --git a/adm_local/cmake_files/FindVTK.cmake b/adm_local/cmake_files/FindVTK.cmake index 71f7a605e..7b6afc326 100644 --- a/adm_local/cmake_files/FindVTK.cmake +++ b/adm_local/cmake_files/FindVTK.cmake @@ -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)