vcpkg/ports/vtk/6811.patch

27 lines
730 B
Diff
Raw Normal View History

From 34b9d59acb1688f4a9f38908760d5756a0e05ee4 Mon Sep 17 00:00:00 2001
From: Julien Schueller <schueller@phimeca.com>
Date: Fri, 24 Apr 2020 08:28:23 -0400
Subject: [PATCH] vtk_hdf5: Stick to 1.10.x API
Closes #17866
---
ThirdParty/hdf5/vtk_hdf5.h.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ThirdParty/hdf5/vtk_hdf5.h.in b/ThirdParty/hdf5/vtk_hdf5.h.in
index 1d802937ba..c4738b2cbf 100644
--- a/ThirdParty/hdf5/vtk_hdf5.h.in
+++ b/ThirdParty/hdf5/vtk_hdf5.h.in
@@ -18,6 +18,8 @@
/* Use the hdf5 library configured for VTK. */
#cmakedefine01 VTK_MODULE_USE_EXTERNAL_vtkhdf5
+#define H5_USE_110_API
+
#if VTK_MODULE_USE_EXTERNAL_vtkhdf5
#cmakedefine01 vtkhdf5_is_parallel
#if vtkhdf5_is_parallel
--
GitLab