From f1cd49b42e9bdf8667314f0125c89020515d7059 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 18 Feb 2011 11:50:04 +0000 Subject: [PATCH] Exclude strstream inclusion --- adm_local/cmake_files/FindVTK.cmake | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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) -- 2.39.2