mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
build-all.py - use find_package for hdf5
This commit is contained in:
+1
-6
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user