git: 90464799ece5 - main - cad/appcsxcad: Fix build with HDF5 1.12.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Jul 2022 12:51:53 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=90464799ece5993d964690516937a6e75079c3fd commit 90464799ece5993d964690516937a6e75079c3fd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-07-18 12:50:18 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-18 12:50:18 +0000 cad/appcsxcad: Fix build with HDF5 1.12.0+ --- cad/appcsxcad/files/patch-hdf5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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