build-all.py - use find_package for hdf5

This commit is contained in:
Andrej730
2025-09-16 12:16:22 +05:00
parent 1dd3c298df
commit 94851016d7
+1 -6
View File
@@ -1144,12 +1144,7 @@ if "libxml2" in targets:
)
if "hdf5" in targets:
cmake_args.extend(
[
f"-DHDF5_INCLUDE_DIR={DEPS_DIR}/install/hdf5-{HDF5_VERSION}/include",
f"-DHDF5_LIBRARY_DIR={DEPS_DIR}/install/hdf5-{HDF5_VERSION}/lib",
]
)
cmake_args_prefix_path.append(f"{DEPS_DIR}/install/hdf5-{HDF5_VERSION}")
else:
cmake_args.append("-DHDF5_SUPPORT=Off")