head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.10.17.21.48.01; author wiz; state Exp; branches; next ; commitid kxtuNcE3GSTNtSZG; desc @@ 1.1 log @hdf5: fix installed cmake file It used ZLIB::ZLIB and libaec::sz without properly making sure they are defined. Bump PKGREVISION. @ text @$NetBSD$ Make sure ZLIB::ZLIB and libaec::sz are defined. --- config/cmake/hdf5-config.cmake.in.orig 2026-10-17 21:32:04.650341389 +0000 +++ config/cmake/hdf5-config.cmake.in @@@@ -148,6 +148,9 @@@@ if (NOT TARGET "@@HDF5_PACKAGE@@") if (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_SUPPORT AND ${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS) include (@@PACKAGE_SHARE_INSTALL_DIR@@/@@LIBAEC_PACKAGE_NAME@@@@HDF_PACKAGE_EXT@@-targets.cmake) endif () + include(CMakeFindDependencyMacro) + find_dependency(ZLIB MODULE) + find_dependency(libaec CONFIG) include (@@PACKAGE_SHARE_INSTALL_DIR@@/@@HDF5_PACKAGE@@@@HDF_PACKAGE_EXT@@-targets.cmake) endif () @