summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-18 20:50:18 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-07-18 20:50:18 +0800
commit90464799ece5993d964690516937a6e75079c3fd (patch)
tree7de8805500e16afe6567b4181f9b89b1864e7cb6 /cad
parentbiology/sra-tools: Fix build with HDF5 1.12.0+ (diff)
cad/appcsxcad: Fix build with HDF5 1.12.0+
Diffstat (limited to 'cad')
-rw-r--r--cad/appcsxcad/files/patch-hdf512
1 files changed, 12 insertions, 0 deletions
diff --git a/cad/appcsxcad/files/patch-hdf5 b/cad/appcsxcad/files/patch-hdf5
new file mode 100644
index 000000000000..5fbb62d9e67c
--- /dev/null
+++ b/cad/appcsxcad/files/patch-hdf5
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2022-02-14 18:02:02 UTC
++++ CMakeLists.txt
+@@ -100,7 +100,8 @@ message(STATUS "QCSXCAD_INCLUDE_DIR: ${QCSXCAD_INCLUDE
+ INCLUDE_DIRECTORIES( ${QCSXCAD_INCLUDE_DIR} )
+
+ # hdf5
+-find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
++set(HDF5_INCLUDE_DIRS "${LOCALBASE}/include")
++set(HDF5_LIBRARY_DIRS "${LOCALBASE}/lib")
+ INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS})
+
+ # vtk