diff options
Diffstat (limited to 'sci-visualization/visit/files/visit-2.8.2-findvtk.patch')
-rw-r--r-- | sci-visualization/visit/files/visit-2.8.2-findvtk.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sci-visualization/visit/files/visit-2.8.2-findvtk.patch b/sci-visualization/visit/files/visit-2.8.2-findvtk.patch deleted file mode 100644 index 2fec72e1f4f..00000000000 --- a/sci-visualization/visit/files/visit-2.8.2-findvtk.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- visit2.8.2/src/CMake/FindVisItVTK.cmake.orig 2015-01-09 12:18:54.467780216 +0100 -+++ visit2.8.2/src/CMake/FindVisItVTK.cmake 2015-01-09 12:19:59.737780932 +0100 -@@ -234,15 +234,22 @@ - - # check for python wrappers - IF (NOT WIN32) -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VTK_LIBRARY_DIRS}/python*/) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VTK_LIBRARY_DIRS}/python*/) - ELSE (NOT WIN32) - IF(${VTK_VERSION} VERSION_LESS "6.1.0") -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib) - ELSE() -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib/python*) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib/python*) - ENDIF() - ENDIF (NOT WIN32) --MESSAGE(STATUS " VTK_PY_WRAPPERS_DIR=${VTK_PY_WRAPPERS_DIR}") -+MESSAGE(STATUS " VTK_PY_WRAPPERS_DIRECTORIES=${VTK_PY_WRAPPERS_DIRECTORIES}") -+ -+FOREACH(X ${VTK_PY_WRAPPERS_DIRECTORIES}) -+ IF(EXISTS "${X}/site-packages/vtk") -+ SET(VTK_PY_WRAPPERS_DIR "${X}") -+ ENDIF() -+ENDFOREACH(X) -+ - - IF(EXISTS ${VTK_PY_WRAPPERS_DIR}/site-packages/vtk) - MESSAGE(STATUS "Found VTK Python Wrappers - ${VTK_PY_WRAPPERS_DIR}") |