aboutsummaryrefslogtreecommitdiff
path: root/ports/vtk/fix-findhdf5-shared.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-07-04 20:03:56 -0700
committerGitHub <noreply@github.com>2017-07-04 20:03:55 -0700
commitf17d5af64a8cb4ae18b1738923ffafeba708af75 (patch)
tree56c17afd8a91b4eb57057a8eceb883847cb5d0f2 /ports/vtk/fix-findhdf5-shared.patch
parentb33632943c51a53c61fbbfe38b4f23c1767dc602 (diff)
parent6711aa1db5ccd73286f3a7dfb9d1b120b3f5f9f2 (diff)
downloadvcpkg-f17d5af64a8cb4ae18b1738923ffafeba708af75.tar.gz
vcpkg-f17d5af64a8cb4ae18b1738923ffafeba708af75.zip
Merge pull request #1391 from KindDragon/vtk-fix
[vtk] Update to version 7.1.1
Diffstat (limited to 'ports/vtk/fix-findhdf5-shared.patch')
-rw-r--r--ports/vtk/fix-findhdf5-shared.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/vtk/fix-findhdf5-shared.patch b/ports/vtk/fix-findhdf5-shared.patch
new file mode 100644
index 000000000..762a9ab07
--- /dev/null
+++ b/ports/vtk/fix-findhdf5-shared.patch
@@ -0,0 +1,20 @@
+diff --git a/CMake/FindHDF5.cmake b/CMake/FindHDF5.cmake
+index 6d558e39b1..9511e9a1ad 100644
+--- a/CMake/FindHDF5.cmake
++++ b/CMake/FindHDF5.cmake
+@@ -3,11 +3,11 @@
+ # (BUG #0014363).
+
+ # include the default FindHDF5.cmake.
+-if(CMAKE_VERSION VERSION_LESS 3.6.1)
++#if(CMAKE_VERSION VERSION_LESS 3.6.1)
+ include(${CMAKE_CURRENT_LIST_DIR}/NewCMake/FindHDF5.cmake)
+-else()
+- include(${CMAKE_ROOT}/Modules/FindHDF5.cmake)
+-endif()
++#else()
++# include(${CMAKE_ROOT}/Modules/FindHDF5.cmake)
++#endif()
+
+ if(HDF5_FOUND AND (HDF5_IS_PARALLEL OR HDF5_ENABLE_PARALLEL))
+ include(vtkMPI)